Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
OTel.API.Trace.Internal
Contents
Synopsis
- newtype TracingT m a = TracingT {
- runTracingT :: TracingBackend -> m a
- mapTracingT :: forall m n a b. (m a -> n b) -> TracingT m a -> TracingT n b
- data TracingBackend = TracingBackend {}
- toTracingBackend :: Tracer -> TracingBackend
- getTracingBackend :: forall m. MonadIO m => TracerProvider -> InstrumentationScope -> m TracingBackend
- getTracer :: forall m. MonadIO m => TracerProvider -> InstrumentationScope -> m Tracer
- shutdownTracerProvider :: forall m. MonadIO m => TracerProvider -> m ()
- forceFlushTracerProvider :: forall m. MonadIO m => TracerProvider -> m ()
Disclaimer
In general, changes to this module will not be reflected in the library's version updates. Direct use of this module should be done with utmost care, otherwise invariants will easily be violated.
Constructors
TracingT | |
Fields
|
Instances
mapTracingT :: forall m n a b. (m a -> n b) -> TracingT m a -> TracingT n b Source #
data TracingBackend Source #
Constructors
TracingBackend | |
getTracingBackend :: forall m. MonadIO m => TracerProvider -> InstrumentationScope -> m TracingBackend Source #
getTracer :: forall m. MonadIO m => TracerProvider -> InstrumentationScope -> m Tracer Source #
shutdownTracerProvider :: forall m. MonadIO m => TracerProvider -> m () Source #
forceFlushTracerProvider :: forall m. MonadIO m => TracerProvider -> m () Source #