com.ovoenergy.meter4s.prometheus
package com.ovoenergy.meter4s.prometheus
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Prometheus.typeobject Victoria.type
- Self type
object HistogramFlavor
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
HistogramFlavor.type
object Prometheus
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Prometheus.type
final case class PrometheusConfig(prefix: String, step: FiniteDuration, descriptions: Boolean, histogramFlavor: HistogramFlavor)
Configuration to be passed to the underlying Micrometer PrometheusMeterRegistry
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
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
In this article