Hi all,
Question about the metric tomcat.connectionPool.activeConnections, coming from the Tomcat Connection Pool extension : how come can it return negative values ?
Checking other connection pool activity metrics description, negative values could indicate that the value could not be retrieved. But it seems odd that these negative values are aggregated with others, thus making the aggregated value irrelevant.
If I change the aggregation value to “Max”, the graphs does not show this nonsense anymore :
As I would like to exhibit the activity of the database connexions, having a MAX-type aggregation will not change much to me (thinking about it, might even be a better KPI), but I am still worried about these negative values.
The main reason is that, in case of the Extension not being able to retrieve the value, one would assume the only negative value to be returned would be “-1”.
It is not the case here ; using the MIN-type aggregation, it plunges deeper, to a minimum of -8 :
What would those negative values mean, in termes of absolute value ?


