Reporter

object Reporter
Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

trait Counter[F[_]]

A generic event counter

A generic event counter

A generic distribution summary to track the sample distribution of events.

A generic distribution summary to track the sample distribution of events.

trait Gauge[F[_]]

A generic gauge for measuring and reporting a fluctuating property

A generic gauge for measuring and reporting a fluctuating property

trait Timer[F[_]]

A generic timer for measuring short duration event latencies

A generic timer for measuring short duration event latencies

Value members

Concrete methods

def apply[F[_]](implicit ev: Reporter[F]): Reporter[F]
def createSimple[F[_] : Async](c: MetricsConfig): F[Reporter[F]]

Create a Reporter wrapping a Micrometer SimpleMeterRegistry

Create a Reporter wrapping a Micrometer SimpleMeterRegistry

Value parameters:
c

configuration for this reporter

Returns:

an effect evaluating to an instance of the wrapping reporter

def fromRegistry[F[_] : Async](mx: MeterRegistry, config: MetricsConfig): F[Reporter[F]]

Create a Reporter wrapping a supplied Micrometer registry

Create a Reporter wrapping a supplied Micrometer registry

Value parameters:
config

configuration for this reporter

mx

a Micrometer registry

Returns:

an effect evaluating to an instance of the wrapping reporter