addGetStat("cache-hits", doGetCacheHits);
addGetStat("cache-misses", doGetCacheMisses);
- addGetStat("cache-entries", doGetCacheSize);
+ addGetStat("cache-entries", doGetCacheSize);
+ addGetStat("max-cache-entries", []() { return g_maxCacheEntries.load(); });
+ addGetStat("max-packetcache-entries", []() { return g_maxPacketCacheEntries.load();});
addGetStat("cache-bytes", doGetCacheBytes);
addGetStat("packetcache-hits", doGetPacketCacheHits);
malloc-bytes
^^^^^^^^^^^^
-returns the number of bytes allocated by the process (broken, always returns 0)
+returns the number of bytes allocated by the process (broken, always returns 0)
+
+max-cache-entries
+^^^^^^^^^^^^^^^^^
+currently configured maximum number of cache entries
+
+max-packetcache-entries
+^^^^^^^^^^^^^^^^^
+currently configured maximum number of packet cache entries
max-mthread-stack
^^^^^^^^^^^^^^^^^