Metrics

com.augustnagro.magnum.ziomagnum.o11y.Metrics
trait Metrics

Metrics providers for OpenTelemetry.

The providers are configured to export metricsin OTLP gRPC format to collector.

The providers are used by the OpenTelemetry layers, which are/must be provided by the ZIOpenTelemetry trait bootstrap layer.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

override def meterProvider: URIO[Scope, Option[SdkMeterProvider]]

Provides a meter provider for OpenTelemetry, which exports metrics in OTLP gRPC format with MeterProvider

Provides a meter provider for OpenTelemetry, which exports metrics in OTLP gRPC format with MeterProvider

Attributes

Definition Classes
def otel4zMetrics(instrumentationScopeName: String, instrumentationVersion: Option[String] = ..., schemaUrl: Option[String] = ..., logAnnotated: Boolean = ...): URLayer[OpenTelemetry & ContextStorage, Meter & Builder]

A OpenTelemetry metrics layer, with configurable instrumentation scope name, version and schema url.

A OpenTelemetry metrics layer, with configurable instrumentation scope name, version and schema url.

Attributes