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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)