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

wrong way to calculate the "downtime" metric

    XMLWordPrintableJSON

    Details

    • Release Note:
      The down time metric is now calculated as described in the documentation.

      Description

      Currently the way to calculate the Flink system metric "downtime"  is not consistent with the description in the doc, now the downtime is actually the current timestamp minus the time timestamp when the job started.
         
      But Flink doc (https://flink.apache.org/gettinghelp.html) obviously describes the time as the current timestamp minus the timestamp when the job failed.
       
      I believe we should update the code this metric as the Flink doc shows. The easy way to solve this is using the current timestamp to minus the latest uptime timestamp.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bachelorsu kevin liu
                Reporter:
                zncheng Zhinan Cheng
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified