hs-opentelemetry-api-0.2.0.0: OpenTelemetry API for use by libraries for direct instrumentation or wrapper packages.
Copyright(c) Ian Duncan 2021
LicenseBSD-3
MaintainerIan Duncan
Stabilityexperimental
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

OpenTelemetry.Trace.Monad

Description

The recommended tracing interface for application developers

See OpenTelemetry.Trace for an interface that's more lower-level, but more flexible.

Synopsis

Documentation

class Monad m => MonadTracer m where Source #

This is generally scoped by Monad stack to do different things

Methods

getTracer :: m Tracer Source #

Instances

Instances details
MonadTracer m => MonadTracer (IdentityT m) Source # 
Instance details

Defined in OpenTelemetry.Trace.Monad

MonadTracer m => MonadTracer (ReaderT r m) Source # 
Instance details

Defined in OpenTelemetry.Trace.Monad