Atomic
Histogram implementation with thread safety guarantees. Instances of this class can be safely shared across threads and updated concurrently.
Value members
Concrete methods
Records one occurrence of the provided value. Keep in mind that the provided value will not be recorded as-is on the Histogram but will be rather adjusted to a bucket within the configured precision. By default, all Kamon histograms are configured to achieve up to 1% error margin across the entire range.
Records one occurrence of the provided value. Keep in mind that the provided value will not be recorded as-is on the Histogram but will be rather adjusted to a bucket within the configured precision. By default, all Kamon histograms are configured to achieve up to 1% error margin across the entire range.
- Definition Classes
Records several occurrences of the provided value. Keep in mind that the provided value will not be recorded as-is on the Histogram but will be rather adjusted to a bucket within the configured precision. By default, all Kamon histograms are configured to achieve up to 1% error margin across the entire range.
Records several occurrences of the provided value. Keep in mind that the provided value will not be recorded as-is on the Histogram but will be rather adjusted to a bucket within the configured precision. By default, all Kamon histograms are configured to achieve up to 1% error margin across the entire range.
- Definition Classes
Inherited methods
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. The schedule uses the
default auto-update interval. See the kamon.metric.instrument-factory
configuration settings for more details.
- Inherited from:
- Instrument
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.
- Inherited from:
- Instrument
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. The schedule uses the
default auto-update interval. See the kamon.metric.instrument-factory
configuration settings for more details.
- Inherited from:
- Instrument
Removes this instrument from the metric.
Removes this instrument from the metric.
- Inherited from:
- 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.
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.
- Inherited from:
- DistributionSnapshotBuilder (hidden)
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.
- Definition Classes
- Inherited from:
- 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.
- Definition Classes
- Inherited from:
- 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.
- Definition Classes
- Inherited from:
- Instrument
Returns an instrument with additional tags from the provided TagSet.
Returns an instrument with additional tags from the provided TagSet.
- Definition Classes
- Inherited from:
- Instrument