Object/Trait

zio.metrics

Metric

Related Docs: trait Metric | package metrics

Permalink

object Metric

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

Type Members

  1. type Counter[-In] = Metric[MetricKeyType.Counter, In, MetricState.Counter]

    Permalink
  2. implicit class CounterSyntax[In] extends AnyRef

    Permalink
  3. type Frequency[-In] = Metric[MetricKeyType.Frequency, In, MetricState.Frequency]

    Permalink
  4. type Gauge[-In] = Metric[MetricKeyType.Gauge, In, MetricState.Gauge]

    Permalink
  5. implicit class GaugeSyntax[In] extends AnyRef

    Permalink
  6. type Histogram[-In] = Metric[MetricKeyType.Histogram, In, MetricState.Histogram]

    Permalink
  7. implicit class InvariantSyntax[Type, In, Out] extends AnyRef

    Permalink
  8. type Summary[-In] = Metric[MetricKeyType.Summary, In, MetricState.Summary]

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def counter(name: String): Counter[Long]

    Permalink

    A counter, which can be incremented by longs.

  7. def counterDouble(name: String): Counter[Double]

    Permalink

    A counter, which can be incremented by doubles.

  8. def counterInt(name: String): Counter[Int]

    Permalink

    A counter, which can be incremented by integers.

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def frequency(name: String): Frequency[String]

    Permalink

    A string histogram metric, which keeps track of the counts of different strings.

  13. def fromMetricKey[Type <: MetricKeyType](key: MetricKey[Type]): Metric[Type, Metric.fromMetricKey.Type.In, Metric.fromMetricKey.Type.Out]

    Permalink

    Creates a metric from a metric key.

    Creates a metric from a metric key. This is the primary constructor for zio.Metric.

  14. def gauge(name: String): Gauge[Double]

    Permalink

    A gauge, which can be set to a value.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def histogram(name: String, boundaries: Boundaries): Histogram[Double]

    Permalink

    A numeric histogram metric, which keeps track of the count of numbers that fall in bins with the specified boundaries.

  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. object runtime

    Permalink

    Core metrics that are updated by the ZIO runtime system.

  23. def succeed[Out](out: ⇒ Out): Metric[Unit, Any, Out]

    Permalink

    Creates a metric that ignores input and produces constant output.

  24. def summary(name: String, maxAge: zio.Duration, maxSize: Int, error: Double, quantiles: Chunk[Double]): Summary[Double]

    Permalink

    A summary metric.

  25. def summaryInstant(name: String, maxAge: zio.Duration, maxSize: Int, error: Double, quantiles: Chunk[Double]): Summary[(Double, Instant)]

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

    Permalink
    Definition Classes
    AnyRef
  27. def timer(name: String, chronoUnit: ChronoUnit): Metric[MetricKeyType.Histogram, zio.Duration, MetricState.Histogram]

    Permalink

    Creates a timer metric, based on a histogram, which keeps track of durations in the specified unit of time (milliseconds, seconds, etc.).

    Creates a timer metric, based on a histogram, which keeps track of durations in the specified unit of time (milliseconds, seconds, etc.). The unit of time will automatically be added to the metric as a tag ("time_unit: milliseconds").

  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 AnyRef

Inherited from Any

Ungrouped