The specific Tomcat meter IDs that are allowed to be registered. All other metrics starting with "tomcat." will be denied. We include these metrics by default, with the expectation that they would be commonly useful for load balancing or scaling decisions.
-
tomcat.threads.config.max: The absolute maximum number of worker threads Tomcat is allowed to create in its pool. This represents the ceiling of concurrent requests the server can process at the exact same time. This is controlled by theserver.tomcat.threads.maxproperty. This metric allows exposing its value. -
tomcat.threads.current: The total number of threads that currently exist in the Tomcat pool. This includes both the threads actively doing work right now, AND the idle threads that are just sitting around waiting for a new request to come in. This number scales up as traffic increases, but will never exceedtomcat.threads.config.max. -
tomcat.threads.busy: The number of threads currently actively processing HTTP requests at this exact millisecond. This is a critical metric for observability. Iftomcat.threads.busyconsistently gets close totomcat.threads.config.max, it means the service is saturated and is about to start bottlenecking, queueing, or rejecting incoming traffic.