Prometheus

meter4s.prometheus.Prometheus$
object Prometheus

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Prometheus.type

Members list

Value members

Concrete methods

def createMeterRegistry[F[_] : Sync](config: PrometheusConfig): Resource[F, PrometheusMeterRegistry]

Create a Micrometer PrometheusMeterRegistry that your http endpoints will use (i.e. call scrape on PrometheusMeterRegistry)

Create a Micrometer PrometheusMeterRegistry that your http endpoints will use (i.e. call scrape on PrometheusMeterRegistry)

Attributes

def createReporter[F[_] : Async](config: MetricsConfig, registry: PrometheusMeterRegistry): F[Reporter[F]]

Create a Reporter that will be used to report metrics to Prometheus Meter Registry

Create a Reporter that will be used to report metrics to Prometheus Meter Registry

Value parameters

config

is the configuration for the reporter

registry

is the Prometheus Meter Registry

Attributes