Chapter 10. Monitoring techniques

 

This chapter covers

  • Noninvasive tracing
  • Performance monitoring
  • Spring AOP for monitoring

Monitoring encompasses a variety of techniques such as tracing important events in an application, profiling performance-critical portions of the app, and observing a system’s vital parameters. You need to monitor enterprise applications in all phases of their lifecycle: development, deployment, and production. During the development phase, monitoring helps you understand the interactions between components in the system and spot any deviations from what is expected. During the deployment phase, it lets you profile the application under load to plan the hardware needed for a successful deployment. During production, monitoring helps you verify that the system is working within the expected range of operating parameters; it alerts you about any impending problems and lets you extract useful diagnostic information when things go wrong.

10.1. Tracing in action

10.2. Conventional vs. AOP tracing

10.3. Selecting join points of interest

10.4. Tracing

10.5. A detour: deployment options for monitoring aspects

10.6. Exception monitoring

10.7. Improving conventional logging

10.8. Performance monitoring

10.9. Runtime control of monitoring aspects

10.10. Summary