Attributes
- Companion
- class
- Source
- Prometheus.scala
- Graph
-
- Supertypes
- Self type
-
Prometheus.type
Members list
Value members
Concrete methods
Attributes
- Source
- Prometheus.scala
Attributes
- Source
- Prometheus.scala
Creates a MetricsOps that supports Prometheus metrics
Creates a MetricsOps that supports Prometheus metrics
Value parameters
- prefix
-
a prefix that will be added to all metrics
- registry
-
a metrics collector registry
Attributes
- Source
- Prometheus.scala
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.
Value parameters
- prefix
-
a prefix that will be added to all metrics
- registry
-
a metrics collector registry
- sampleExemplar
-
an effect that returns the corresponding exemplar labels
Attributes
- Source
- Prometheus.scala
Concrete fields
Attributes
- Source
- Prometheus.scala