[
https://issues.apache.org/jira/browse/FLINK-12984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nico Kruber closed FLINK-12984.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.10.0
fixed on master via d9f012746f5b8b36ebb416f70e9f5bac93538d5d
> 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
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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.14#76016)