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.