Class

kamon.metric.Histogram

Atomic

Related Doc: package Histogram

Permalink

class Atomic extends BaseAtomicHdrHistogram with Histogram with DistributionSnapshotBuilder with BaseMetricAutoUpdate[Histogram, ForDistributionInstrument, Distribution]

Histogram implementation with thread safety guarantees. Instances of this class can be safely shared across threads and updated concurrently.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Atomic
  2. BaseMetricAutoUpdate
  3. DistributionSnapshotBuilder
  4. Snapshotting
  5. Histogram
  6. Instrument
  7. Tagging
  8. BaseAtomicHdrHistogram
  9. HdrHistogramInternalState
  10. AbstractHistogramBase
  11. EncodableHistogram
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Atomic(metric: BaseMetric[Histogram, ForDistributionInstrument, Distribution], tags: TagSet, dynamicRange: DynamicRange)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def autoUpdate(consumer: (Histogram) ⇒ Unit, interval: Duration): Histogram

    Permalink
    Definition Classes
    BaseMetricAutoUpdate
  6. def autoUpdate(consumer: (Histogram) ⇒ Unit): Histogram

    Permalink

    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.

    Definition Classes
    Instrument
  7. def autoUpdate(consumer: Consumer[Histogram], interval: Duration): Histogram

    Permalink

    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.

    Definition Classes
    Instrument
  8. def autoUpdate(consumer: Consumer[Histogram]): Histogram

    Permalink

    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.

    Definition Classes
    Instrument
  9. def baseMetric: BaseMetric[Histogram, ForDistributionInstrument, Distribution]

    Permalink
    Attributes
    protected
    Definition Classes
    AtomicBaseMetricAutoUpdate
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def defaultSchedule(): Unit

    Permalink
    Definition Classes
    BaseMetricAutoUpdate
  12. val dynamicRange: DynamicRange

    Permalink
    Definition Classes
    Atomic → DistributionSnapshotBuilder
  13. def encodeIntoCompressedByteBuffer(targetBuffer: ByteBuffer, compressionLevel: Int): Int

    Permalink
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
  14. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def getAndSetFromCountsArray(index: Int, newValue: Long): Long

    Permalink
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getCountsArraySize(): Int

    Permalink
  20. def getEndTimeStamp(): Long

    Permalink
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
  21. def getFromCountsArray(index: Int): Long

    Permalink
  22. def getHighestTrackableValue(): Long

    Permalink
    Definition Classes
    BaseAtomicHdrHistogram
  23. def getMaxValueAsDouble(): Double

    Permalink
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
  24. def getNeededByteBufferCapacity(): Int

    Permalink
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
  25. def getStartTimeStamp(): Long

    Permalink
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
  26. def getSubBucketHalfCount(): Int

    Permalink
  27. def getSubBucketHalfCountMagnitude(): Int

    Permalink
  28. def getTag(): String

    Permalink
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
  29. def getUnitMagnitude(): Int

    Permalink
  30. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. val metric: BaseMetric[Histogram, ForDistributionInstrument, Distribution]

    Permalink

    Returns the metric to which this instrument belongs.

    Returns the metric to which this instrument belongs.

    Definition Classes
    AtomicInstrument
  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  36. def record(value: Long, times: Long): Histogram

    Permalink

    Records several occurrences of the provided value.

    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
    AtomicHistogram
  37. def record(value: Long): Histogram

    Permalink

    Records one occurrence of the provided value.

    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
    AtomicHistogram
  38. def recordValue(value: Long): Unit

    Permalink
    Definition Classes
    BaseAtomicHdrHistogram
  39. def recordValueWithCount(value: Long, count: Long): Unit

    Permalink
    Definition Classes
    BaseAtomicHdrHistogram
  40. def remove(): Boolean

    Permalink

    Removes this instrument from the metric.

    Removes this instrument from the metric.

    Definition Classes
    Instrument
  41. def reset(): Unit

    Permalink
    Definition Classes
    BaseAtomicHdrHistogram
  42. def setEndTimeStamp(startTimeStamp: Long): Unit

    Permalink
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
  43. def setStartTimeStamp(startTimeStamp: Long): Unit

    Permalink
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
  44. def setTag(tag: String): Unit

    Permalink
    Definition Classes
    BaseAtomicHdrHistogram → EncodableHistogram
  45. def snapshot(resetState: Boolean): Distribution

    Permalink

    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.

    Definition Classes
    DistributionSnapshotBuilder → Snapshotting
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  47. val tags: TagSet

    Permalink

    Returns the tags used to create this instrument.

    Returns the tags used to create this instrument.

    Definition Classes
    AtomicInstrument
  48. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  49. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. def withTag(key: String, value: Long): Histogram

    Permalink

    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
    InstrumentTagging
  53. def withTag(key: String, value: Boolean): Histogram

    Permalink

    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
    InstrumentTagging
  54. def withTag(key: String, value: String): Histogram

    Permalink

    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
    InstrumentTagging
  55. def withTags(tags: TagSet): Histogram

    Permalink

    Returns an instrument with additional tags from the provided TagSet.

    Returns an instrument with additional tags from the provided TagSet.

    Definition Classes
    InstrumentTagging

Inherited from DistributionSnapshotBuilder

Inherited from Snapshotting[Distribution]

Inherited from Histogram

Inherited from Tagging[Histogram]

Inherited from BaseAtomicHdrHistogram

Inherited from HdrHistogramInternalState

Inherited from AbstractHistogramBase

Inherited from EncodableHistogram

Inherited from AnyRef

Inherited from Any

Ungrouped