Accessing standard metrics
Your Football Trading service continues to grow by being adopted by football fans. You need to understand how it performs better so that you can adapt to demand while optimizing the resources that are used to provide the service.
You can use the standard metrics provided by Spring Boot Actuator and its related components for real-time insights into your application’s behavior. For instance, you can find out how much CPU and memory has been used by your application or the time spent in garbage collection (GC). These are the basic metrics that give you a general understanding of the performance of the application.
Other metrics are more subtle, such as the metrics provided by the web container, Tomcat – for instance, the number of active sessions, the number of sessions rejected, and the number of sessions that have expired. Similarly, the database connection pool, which is hikaricp
by default, also exposes some metrics. For instance, you...