colossus.metrics

Histogram

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. val NUM_BUCKETS: Int

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

    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.

    returns

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

    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.

    returns

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

    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.

    returns

  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

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

  13. val defaultPercentiles: List[Double]

  14. final def eq(arg0: AnyRef): Boolean

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

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

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

    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

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

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

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

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

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  25. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped