Zhenqiu Huang created FLINK-39956:
-------------------------------------
Summary: Expose per-pool heap CollectionUsage gauges
Key: FLINK-39956
URL: https://issues.apache.org/jira/browse/FLINK-39956
Project: Flink
Issue Type: Improvement
Components: Runtime / Metrics
Affects Versions: 2.1.3, 2.2.0
Reporter: Zhenqiu Huang
Adds Used/Max/CollectionUsed/CollectionMax gauges for each heap memory
pool under the new 'Pool' metric group, mirroring the per-collector
breakdown already provided for GarbageCollector metrics. Metaspace is
NON_HEAP and remains covered by instantiateMetaspaceMemoryMetrics.
CollectionUsed (MemoryPoolMXBean.getCollectionUsage().getUsed()) is the
post-GC retained set per pool, which heap-sizing analyses need to
distinguish live data from short-lived garbage. Without these gauges,
only the top-level HeapMemoryUsage.used is exposed, which is dominated
by Eden allocation and cannot be used to size old-generation capacity.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)