You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Piotr Nowojski (Jira)" <ji...@apache.org> on 2020/09/09 14:46:00 UTC

[jira] [Created] (FLINK-19174) idleTimeMsPerSecond can report incorrect values if task is blocked for more then 60 seconds

Piotr Nowojski created FLINK-19174:
--------------------------------------

             Summary: idleTimeMsPerSecond can report incorrect values if task is blocked for more then 60 seconds
                 Key: FLINK-19174
                 URL: https://issues.apache.org/jira/browse/FLINK-19174
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Metrics
    Affects Versions: 1.12.0, 1.11.2
            Reporter: Piotr Nowojski


If task is blocked for more than 60 seconds ({{org.apache.flink.metrics.MeterView#DEFAULT_TIME_SPAN_IN_SECONDS}}), {{idleTimeMsPerSecond}} can be reported as zero, despite task being completely idle. Once the task is unblocked and the {{idleTimeMsPerSecond}} metric is updated, it can for the next 60 seconds exceed 1000ms/second.

Average value over the longer periods of time will be correct and accurate.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)