MINOR: stats: report the number of idle connections for each server
This adds two extra fields to the stats, one for the current number of idle
connections and one for the configured limit. A tooltip link now appears on
the HTML page to show these values in front of the active connection values.
This should be backported to 2.0 and 1.9 as it's the only way to monitor
the idle connections behaviour.
diff --git a/include/types/stats.h b/include/types/stats.h
index 5a7aa98..2a71ff6 100644
--- a/include/types/stats.h
+++ b/include/types/stats.h
@@ -415,6 +415,8 @@
ST_F_REUSE,
ST_F_CACHE_LOOKUPS,
ST_F_CACHE_HITS,
+ ST_F_SRV_ICUR,
+ ST_F_SRV_ILIM,
/* must always be the last one */
ST_F_TOTAL_FIELDS