false to use reservoirs that accumulate internal state forever, or
true to use a reservoir that resets its internal state on each snapshot
(which is how reporters get information from reservoirs).
See this article for when the latter is useful.
Creates a new histogram metric with a Reservoir from the HdrHistogram library.
Creates a new histogram metric with a Reservoir from the HdrHistogram library.
the name of the histogram
Creates a new timer metric with a Reservoir from the HdrHistogram library.
Creates a new timer metric with a Reservoir from the HdrHistogram library.
the name of the timer
(Since version 4.0.3) Please use cachedGauge(name+"."+scope)(f) instead. The scope parameter has been deprecated and will be removed in v5.0.0.
(Since version 4.0.3) Please use counter(name+"."+scope)(f) instead. The scope parameter has been deprecated and will be removed in v5.0.0.
(Since version 4.0.3) Please use gauge(name+"."+scope)(f) instead. The scope parameter has been deprecated and will be removed in v5.0.0.
(Since version 4.0.3) Please use histogram(name+"."+scope)(f) instead. The scope parameter has been deprecated and will be removed in v5.0.0.
(Since version 4.0.3) Please use meter(name+"."+scope)(f) instead. The scope parameter has been deprecated and will be removed in v5.0.0.
(Since version 4.0.3) Do not use metricNameFor, it is an internal API. This method will be removed in v5.0.0.
(Since version 4.0.3) Please use timer(name+"."+scope)(f) instead. The scope parameter has been deprecated and will be removed in v5.0.0.
An alternative metric builder that creates Histograms and Timers with Reservoirs from the HdrHistogram library.
See the the manual for more instructions on using hdrhistogram.