[ https://issues.apache.org/jira/browse/FLINK-7608?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16204575#comment-16204575 ]
ASF GitHub Bot commented on FLINK-7608: --------------------------------------- GitHub user yew1eb opened a pull request: https://github.com/apache/flink/pull/4826 [FLINK-7608][metric] Refactoring latency statistics metric A detailed description of this PR, see [#issue FLINK-7608: LatencyGauge change to histogram metric](https://issues.apache.org/jira/browse/FLINK-7608) ## Verifying this change This change is already covered by existing tests. ## Does this pull request potentially affect one of the following parts: - Dependencies (does it add or upgrade a dependency): (no) - The public API, i.e., is any changed class annotated with `@Public(Evolving)`: (no) - The serializers: (no) - The runtime per-record code paths (performance sensitive): (no) - Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no) ## Documentation - Does this pull request introduce a new feature? (no) You can merge this pull request into a Git repository by running: $ git pull https://github.com/yew1eb/flink FLINK-7608 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/4826.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4826 ---- commit 890616b828d979eed336d546300f442ac7f75b09 Author: yew1eb <yew...@gmail.com> Date: 2017-10-14T09:19:49Z refactoring latency statistics metric ---- > LatencyGauge change to histogram metric > ---------------------------------------- > > Key: FLINK-7608 > URL: https://issues.apache.org/jira/browse/FLINK-7608 > Project: Flink > Issue Type: Bug > Components: Metrics > Reporter: Hai Zhou UTC+8 > Assignee: Hai Zhou UTC+8 > Priority: Blocker > Fix For: 1.4.0, 1.3.3 > > > I used slf4jReporter[https://issues.apache.org/jira/browse/FLINK-4831] to > export metrics the log file. > I found: > {noformat} > -- 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}} > ...... > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)