Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19174

idleTimeMsPerSecond can report incorrect values (0 or values more than one second)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.11.2, 1.12.0
    • 1.13.0
    • Runtime / Metrics
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              pnowojski Piotr Nowojski
              pnowojski Piotr Nowojski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: