Class/Object

zio.ZIOMetric

Histogram

Related Docs: object Histogram | package ZIOMetric

Permalink

abstract class Histogram[A] extends ZIOMetric[A]

A Histogram is a metric representing a collection of numerical values with the distribution of the cumulative values over time. A typical use of this metric would be to track the time to serve requests. Histograms allow visualizing not only the value of the quantity being measured but its distribution. Histograms are constructed with user specified boundaries which describe the buckets to aggregate values into.

Self Type
Histogram[A]
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Histogram
  2. ZIOMetric
  3. ZIOAspect
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Histogram(name: String, boundaries: Boundaries, tags: Chunk[MetricLabel])

    Permalink

Abstract Value Members

  1. abstract def apply[R, E, A1 <: A](zio: ZIO[R, E, A1])(implicit trace: ZTraceElement): ZIO[R, E, A1]

    Permalink
    Definition Classes
    HistogramZIOAspect

Concrete 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. def >>>[LowerR1 >: Nothing, UpperR1 <: Any, LowerE1 >: Nothing, UpperE1 <: Any, LowerA1 >: Nothing, UpperA1 <: A](that: ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]): ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]

    Permalink
    Definition Classes
    ZIOAspect
  5. def @@[LowerR1 >: Nothing, UpperR1 <: Any, LowerE1 >: Nothing, UpperE1 <: Any, LowerA1 >: Nothing, UpperA1 <: A](that: ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]): ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]

    Permalink

    Returns a new aspect that represents the sequential composition of this aspect with the specified one.

    Returns a new aspect that represents the sequential composition of this aspect with the specified one.

    Definition Classes
    ZIOAspect
  6. def andThen[LowerR1 >: Nothing, UpperR1 <: Any, LowerE1 >: Nothing, UpperE1 <: Any, LowerA1 >: Nothing, UpperA1 <: A](that: ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]): ZIOAspect[LowerR1, UpperR1, LowerE1, UpperE1, LowerA1, UpperA1]

    Permalink
    Definition Classes
    ZIOAspect
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. final val boundaries: Boundaries

    Permalink
  9. def buckets(implicit trace: ZTraceElement): UIO[Chunk[(Double, Long)]]

    Permalink

    Returns the current sum and count of values in each bucket of this histogram.

  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. final def copy(name: String = name, boundaries: Boundaries = boundaries, tags: Chunk[MetricLabel] = tags): Histogram[A]

    Permalink

    Returns a copy of this histogram with the specified name, boundaries, and tags.

  12. def count(implicit trace: ZTraceElement): UIO[Long]

    Permalink

    Returns the current count of values in this histogram.

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

    Permalink
    Definition Classes
    AnyRef
  14. final def equals(that: Any): Boolean

    Permalink

    Returns whether this histogram is equal to the specified histogram.

    Returns whether this histogram is equal to the specified histogram.

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

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

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

    Permalink

    Returns the hash code of this histogram.

    Returns the hash code of this histogram.

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

    Permalink
    Definition Classes
    Any
  19. lazy val metricType: Class[_ <: Histogram[A]]

    Permalink

    The type of this histogram.

    The type of this histogram.

    Attributes
    protected
  20. final val name: String

    Permalink
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def observe(value: Double)(implicit trace: ZTraceElement): UIO[Any]

    Permalink

    Adds the specified value to the distribution of values represented by this histogram.

  25. def sum(implicit trace: ZTraceElement): UIO[Double]

    Permalink

    Returns the current sum of values in this histogram.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. final val tags: Chunk[MetricLabel]

    Permalink
  28. def toString(): String

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

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

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

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

Inherited from ZIOMetric[A]

Inherited from ZIOAspect[Nothing, Any, Nothing, Any, Nothing, A]

Inherited from AnyRef

Inherited from Any

Ungrouped