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

LatencyGauge change to histogram metric

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: Runtime / Metrics
    • Labels:
      None

      Description

      I used slf4jReporterhttps://issues.apache.org/jira/browse/FLINK-4831 to export metrics the log file.
      I found:

      -- Gauges ---------------------------------------------------------------------
      ......
      zhouhai-mbp.taskmanager.f3fd3a269c8c3da4e8319c8f6a201a57.Flink Streaming Job.Map.0.latency:
       value={LatencySourceDescriptor{vertexID=1, subtaskIndex=-1}={p99=116.0, p50=59.5, min=11.0, max=116.0, p95=116.0, mean=61.833333333333336}}
      zhouhai-mbp.taskmanager.f3fd3a269c8c3da4e8319c8f6a201a57.Flink Streaming Job.Sink- Unnamed.0.latency: 
      value={LatencySourceDescriptor{vertexID=1, subtaskIndex=0}={p99=195.0, p50=163.5, min=115.0, max=195.0, p95=195.0, mean=161.0}}
      ......
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yew1eb Hai Zhou
                Reporter:
                yew1eb Hai Zhou
              • Votes:
                1 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: