[
https://issues.apache.org/jira/browse/FLINK-39956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-39956:
-----------------------------------
Labels: pull-request-available (was: )
> 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.2.0, 2.1.3
> Reporter: Zhenqiu Huang
> Priority: Minor
> Labels: pull-request-available
>
> 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)