Tomcat 1,4211,421
Tomcat dashboard will display the metrics from micrometer. You can setup the application name and the region in your Spring Boot app with the config:
@Bean
MeterRegistryCustomizer<MeterRegistry> metricsCommonTags() {
return registry -> registry.config()
.commonTags(
"application", applicationName,
"region", regionName);
}
The application name and region can be provided in your application.properties or environment variables.
The thread alert threshold is set to 170 threads. The default value for tomcat_threads_config_max is 200.
Used Metrics 1616
tomcat_threads_current
tomcat_threads_busy
tomcat_servlet_error_total
tomcat_servlet_request_seconds_sum
tomcat_servlet_request_seconds_count
tomcat_servlet_request_max_seconds
tomcat_cache_access_total
tomcat_cache_hit_total
tomcat_sessions_created_total
tomcat_sessions_rejected_total
tomcat_sessions_expired_total
tomcat_sessions_alive_max_seconds
tomcat_sessions_active_max
tomcat_sessions_active_current
tomcat_global_sent_bytes_total
tomcat_global_received_bytes_total