ZIOpenTelemetryLayer

com.augustnagro.magnum.ziomagnum.o11y.ZIOpenTelemetryLayer

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def live(withZioMetrics: Boolean): RLayer[OtelProviders & ContextStorage, OpenTelemetry]

The OpenTelemetry layer for the ZIOpenTelemetry trait.

The OpenTelemetry layer for the ZIOpenTelemetry trait.

This is a separate method pulled by the bootstrap layer, as it is used to provide the OpenTelemetry layer to the server options, which are provided by the ZIO application itself. This allows the OpenTelemetry layer to be used

Attributes