Schedules a call to the provided consumer with a reference to this histogram as parameter.
Schedules a call to the provided consumer with a reference to this histogram as parameter. The schedule uses the
default auto-update interval. See the kamon.metric.instrument-factory
configuration settings for more details.
Schedules a call to the provided consumer with a reference to this histogram as parameter, overriding the metric's auto-update interval.
Schedules a call to the provided consumer with a reference to this histogram as parameter, overriding the metric's auto-update interval.
Schedules a call to the provided consumer with a reference to this histogram as parameter.
Schedules a call to the provided consumer with a reference to this histogram as parameter. The schedule uses the
default auto-update interval. See the kamon.metric.instrument-factory
configuration settings for more details.
Returns the metric to which this instrument belongs.
Returns the metric to which this instrument belongs.
Records an elapsed time expressed on the provided time unit
Records a specified duration, translated to nanoseconds
Records a value on the underlying histogram, handling the case of overflowing the dynamic range
Removes this instrument from the metric.
Removes this instrument from the metric.
Creates a snapshot for an instrument.
Creates a snapshot for an instrument. If the resetState flag is set to true, the internal state of the instrument will be reset, if applicable.
Starts a timer that will record the elapsed time between the start and stop instants
Returns the tags used to create this instrument.
Returns the tags used to create this instrument.
Returns an instrument with one additional tag defined by the provided key and value pair.
Returns an instrument with one additional tag defined by the provided key and value pair.
Returns an instrument with one additional tag defined by the provided key and value pair.
Returns an instrument with one additional tag defined by the provided key and value pair.
Returns an instrument with one additional tag defined by the provided key and value pair.
Returns an instrument with one additional tag defined by the provided key and value pair.
Returns an instrument with additional tags from the provided TagSet.
Returns an instrument with additional tags from the provided TagSet.
Timer implementation with thread safety guarantees. Instances of this class can be safely shared across threads and updated concurrently. This is, in fact, a close copy of the Histogram.Atomic implementation, modified to match the Timer interface.