Packages

object Prometheus

Source
Prometheus.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Prometheus
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val DefaultHistogramBuckets: NonEmptyList[Double]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def collectorRegistry[F[_]](implicit F: Sync[F]): Resource[F, CollectorRegistry]
  8. def default[F[_]](registry: CollectorRegistry)(implicit arg0: Sync[F]): Prometheus[F]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def metricsOps[F[_]](registry: CollectorRegistry, prefix: String = "org_http4s_server", responseDurationSecondsHistogramBuckets: NonEmptyList[Double] = DefaultHistogramBuckets)(implicit arg0: Sync[F]): Resource[F, MetricsOps[F]]

    Creates a MetricsOps that supports Prometheus metrics

    Creates a MetricsOps that supports Prometheus metrics

    registry

    a metrics collector registry

    prefix

    a prefix that will be added to all metrics

  16. def metricsOpsWithExemplars[F[_]](registry: CollectorRegistry, sampleExemplar: F[Option[Map[String, String]]], prefix: String = "org_http4s_server", responseDurationSecondsHistogramBuckets: NonEmptyList[Double] = DefaultHistogramBuckets)(implicit arg0: Sync[F]): Resource[F, MetricsOps[F]]

    Creates a MetricsOps that supports Prometheus metrics and records exemplars.

    Creates a MetricsOps that supports Prometheus metrics and records exemplars.

    Warning: The sampler effect is responsible for producing exemplar labels that are valid for the underlying implementation as errors happening during metric recording will not be handled! For Prometheus version < 1.0, this means the combined length of keys and values may not exceed 128 characters and the parts must adhere to the label regex Prometheus defines.

    registry

    a metrics collector registry

    sampleExemplar

    an effect that returns the corresponding exemplar labels

    prefix

    a prefix that will be added to all metrics

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped