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 Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product