Object/Trait

kamon.metric

Distribution

Related Docs: trait Distribution | package metric

Permalink

object Distribution

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

Type Members

  1. trait Bucket extends AnyRef

    Permalink

    Describes a single bucket within a distribution.

  2. trait Percentile extends AnyRef

    Permalink

    Indicates the value bellow which a given percentage (or rank) of the entire distribution are.

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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def convert(distribution: Distribution, unit: MeasurementUnit, toUnit: MeasurementUnit, toDynamicRange: DynamicRange): Distribution

    Permalink

    Tries to convert the a distribution to the provided unit and dynamic range.

    Tries to convert the a distribution to the provided unit and dynamic range. Take into account that since Distributions are based on buckets with integer boundaries, converting from greater to lower magnitudes (e.g. from seconds to milliseconds) will always preserve precision, but the same is not true when converting the way around (e.g. from milliseconds to seconds) since the conversion could produce floating point result like which will always be rounded to the nearest integer equal or greater than 1. For example, when converting a value of 3500 milliseconds to seconds, the converted value of 3.2 seconds will be rounded down to 3 seconds and when converting a value of 300 milliseconds to seconds, it will be rounded up to 1 (the smallest possible value in a histogram).

    If the distribution and target unit dimensions are not the same then a warning will be logged and the distribution will be returned unchanged.

  7. def convert(distribution: Distribution, unit: MeasurementUnit, toUnit: MeasurementUnit): Distribution

    Permalink

    Tries to convert a distribution to the provided unit.

    Tries to convert a distribution to the provided unit. Take into account that since Distributions are based on buckets with integer boundaries, converting from greater to lower magnitudes (e.g. from seconds to milliseconds) will always preserve precision, but the same is not true when converting the way around (e.g. from milliseconds to seconds) since the conversion could produce floating point result like which will always be rounded to the nearest integer equal or greater than 1. For example, when converting a value of 3500 milliseconds to seconds, the converted value of 3.2 seconds will be rounded down to 3 seconds and when converting a value of 300 milliseconds to seconds, it will be rounded up to 1 (the smallest possible value in a histogram).

    If the distribution and target unit dimensions are not the same then a warning will be logged and the distribution will be returned unchanged.

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  14. def merge(left: Distribution, right: Distribution, dynamicRange: DynamicRange): Distribution

    Permalink

    Merges two distributions into a new one, which includes the values from both distributions, adjusting the values to the provided dynamic range if necessary.

  15. def merge(left: Distribution, right: Distribution): Distribution

    Permalink

    Merges two distributions into a new one, which includes the values from both distributions.

    Merges two distributions into a new one, which includes the values from both distributions. The resulting distribution will always have the dynamic range of the "left" distribution.

  16. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped