[ 
https://issues.apache.org/jira/browse/FLINK-39956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Huang closed FLINK-39956.
-------------------------------
    Fix Version/s: 2.4.0
       Resolution: Fixed

> 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
>            Assignee: Yiming Jin
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.4.0
>
>
> 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)

Reply via email to