You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Nico Kruber (JIRA)" <ji...@apache.org> on 2019/06/25 12:48:00 UTC

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

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)