Object/Trait

colossus.metrics.collectors

Histogram

Related Docs: trait Histogram | package collectors

Permalink

object Histogram

A Basic log-scale histogram, mainly designed to measure latency

Each bucket handles an increasingly large range of values from 0 to MAX_INT.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Histogram
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. val NUM_BUCKETS: Int

    Permalink
  5. def apply(address: MetricAddress, percentiles: Seq[Double] = Histogram.defaultPercentiles, sampleRate: Double = 1.0, pruneEmpty: Boolean = false, enabled: Boolean = true, buckets: BucketList = Histogram.defaultBucketRanges)(implicit ns: MetricNamespace): Histogram

    Permalink

    address

    The MetricAddress of this Histogram. Note, this will be relative to the containing MetricSystem's metricAddress.

    percentiles

    The percentiles that this Histogram should distribute its values.

    sampleRate

    How often to collect values.

    pruneEmpty

    Instruct the collector to not report any values for tag combinations which were previously empty.

    enabled

    If this Histogram will actually be collected and reported.

    ns

    The namespace to which this Metric is relative.

  6. def apply(address: MetricAddress, configPath: String)(implicit ns: MetricNamespace): Histogram

    Permalink

    Create a Histogram with the following address, whose definitions is contained the specified configPath.

    Create a Histogram with the following address, whose definitions is contained the specified configPath. See the documentation for colossus.metrics.MetricSystem

    address

    The MetricAddress of this Histogram. Note, this will be relative to the containing MetricSystem's metricAddress.

    configPath

    The path in the config that this histogram's configuration is located. This is relative to the MetricSystem config definition.

    ns

    The namespace to which this Metric is relative.

  7. def apply(address: MetricAddress)(implicit ns: MetricNamespace): Histogram

    Permalink

    Create a Histogram with the following address.

    Create a Histogram with the following address. See the documentation for colossus.metrics.MetricSystem

    address

    The MetricAddress of this Histogram. Note, this will be relative to the containing MetricSystem's metricAddress.

    ns

    The namespace to which this Metric is relative.

  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. val defaultBucketRanges: BucketList

    Permalink
  11. val defaultPercentiles: List[Double]

    Permalink
  12. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def generateBucketRanges(num: Int, infinity: Int = Int.MaxValue): BucketList

    Permalink

    generate some bucket ranges for a histogram.

    generate some bucket ranges for a histogram. inifnity is the lower bound of the last bucket. You can set this to a value lower than MAX_INT when you're confident most values will be below it. For example, if you're measuring processing latency, and you're sure a request will never take more than 1000ms, you can set infinity to this, which will greatly improve accuracy for values below, but all values above will be lumped into a single bucket

  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped