You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Thomas Wang <w...@datability.io> on 2021/06/22 01:34:20 UTC

GC PS_Scavenge Time

Hi,

I'm using Prometheus to collect Flink metrics and I see a metric named
flink_taskmanager_Status_JVM_GarbageCollector_PS_Scavenge_Time. I observe
this metric continue to grow. Please see the chart below.

[image: image.png]

Just wondering how I should read this metric. Is this a cumulative metric
that represents the GC scavenge time that this job has experienced up to
now? Or is this the GC time at a certain point in time?

Thanks.

Thomas

Re: GC PS_Scavenge Time

Posted by Thomas Wang <w...@datability.io>.
Sounds good. Thanks.

Thomas

On Tue, Jun 22, 2021 at 12:22 AM Chesnay Schepler <ch...@apache.org>
wrote:

> It is the accumulated collection time; it is extracted as-is from the
> java.lang.management.GarbageCollectorMXBean.
>
> On 6/22/2021 3:34 AM, Thomas Wang wrote:
>
> Hi,
>
> I'm using Prometheus to collect Flink metrics and I see a metric named
> flink_taskmanager_Status_JVM_GarbageCollector_PS_Scavenge_Time. I observe
> this metric continue to grow. Please see the chart below.
>
> [image: image.png]
>
> Just wondering how I should read this metric. Is this a cumulative metric
> that represents the GC scavenge time that this job has experienced up to
> now? Or is this the GC time at a certain point in time?
>
> Thanks.
>
> Thomas
>
>
>
>

Re: GC PS_Scavenge Time

Posted by Chesnay Schepler <ch...@apache.org>.
It is the accumulated collection time; it is extracted as-is from the 
java.lang.management.GarbageCollectorMXBean.

On 6/22/2021 3:34 AM, Thomas Wang wrote:
> Hi,
>
> I'm using Prometheus to collect Flink metrics and I see a metric named 
> flink_taskmanager_Status_JVM_GarbageCollector_PS_Scavenge_Time. I 
> observe this metric continue to grow. Please see the chart below.
>
> image.png
>
> Just wondering how I should read this metric. Is this a cumulative 
> metric that represents the GC scavenge time that this job has 
> experienced up to now? Or is this the GC time at a certain point in time?
>
> Thanks.
>
> Thomas
>
>