PrometheusConfig
com.ovoenergy.meter4s.prometheus.PrometheusConfig
final case class PrometheusConfig(prefix: String, step: FiniteDuration, descriptions: Boolean, histogramFlavor: HistogramFlavor)
Configuration to be passed to the underlying Micrometer PrometheusMeterRegistry
Value parameters
- descriptions
-
whether or not to send meter descriptions to Prometheus (set to false to minimize the amount of data sent on each scrape)
- histogramFlavor
-
is the histogram flavor to use for the backing DistributionSummary and Timer
- prefix
-
the prefix to use for all metrics
- step
-
the step size to use in computing windowed statistics like max. To get the most out of this, align this with the scrape interval of your Prometheus instance.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article