[jira] [Created] (FLINK-12984) Only call Histogram#getStatistics() once per set of retrieved statistics

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

[jira] [Created] (FLINK-12984) Only call Histogram#getStatistics() once per set of retrieved statistics

Shang Yuanchun (Jira)
Nico Kruber created FLINK-12984:
-----------------------------------

             Summary: Only call Histogram#getStatistics() once per set of retrieved statistics
                 Key: FLINK-12984
                 URL: https://issues.apache.org/jira/browse/FLINK-12984
             Project: Flink
          Issue Type: Sub-task
          Components: Runtime / Metrics
            Reporter: Nico Kruber
            Assignee: Nico Kruber


In some occasions, {{Histogram#getStatistics()}} was called multiple times to retrieve different statistics. However, at least the Dropwizard implementation has some constant overhead per call and we should maybe rather interpret this method as returning a point-in-time snapshot of the histogram in order to get consistent values when querying them.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)