Package io.micrometer.statsd
Class StatsdTimer
java.lang.Object
io.micrometer.core.instrument.AbstractMeter
io.micrometer.core.instrument.AbstractTimer
io.micrometer.statsd.StatsdTimer
- All Implemented Interfaces:
io.micrometer.core.instrument.distribution.HistogramSupport,io.micrometer.core.instrument.Meter,io.micrometer.core.instrument.Timer
public class StatsdTimer
extends io.micrometer.core.instrument.AbstractTimer
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.micrometer.core.instrument.Meter
io.micrometer.core.instrument.Meter.Builder, io.micrometer.core.instrument.Meter.Id, io.micrometer.core.instrument.Meter.TypeNested classes/interfaces inherited from interface io.micrometer.core.instrument.Timer
io.micrometer.core.instrument.Timer.Builder, io.micrometer.core.instrument.Timer.ResourceSample, io.micrometer.core.instrument.Timer.Sample -
Field Summary
Fields inherited from class io.micrometer.core.instrument.AbstractTimer
clock, histogram -
Method Summary
Methods inherited from class io.micrometer.core.instrument.AbstractTimer
baseTimeUnit, close, record, record, record, record, record, record, record, recordCallable, takeSnapshotMethods inherited from class io.micrometer.core.instrument.AbstractMeter
equals, getId, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micrometer.core.instrument.distribution.HistogramSupport
takeSnapshotMethods inherited from interface io.micrometer.core.instrument.Meter
getId, match, useMethods inherited from interface io.micrometer.core.instrument.Timer
histogramCountAtValue, mean, measure, percentile, record, wrap, wrap, wrap
-
Method Details
-
recordNonNegative
- Specified by:
recordNonNegativein classio.micrometer.core.instrument.AbstractTimer
-
count
public long count() -
totalTime
-
max
The StatsD agent will likely compute max with a different window, so the value may not match what you see here. This value is not exported to the agent, and is only for diagnostic use.
-