nl.grons.metrics4.scala

Type members

Classlikes

class HdrMetricBuilder(baseName: MetricName, registry: MetricRegistry, resetAtSnapshot: Boolean) extends MetricBuilder

An alternative metric builder that creates Histograms and Timers with Reservoirs from the HdrHistogram library.

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.

Value parameters:
resetAtSnapshot

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.