otel-api-trace-core-0.0.0: STUB
Safe HaskellSafe-Inferred
LanguageHaskell2010

OTel.API.Trace.Core.Internal

Contents

Synopsis

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.

trace_ :: (MonadTracing m, HasCallStack) => SpanSpec -> m a -> m a Source #

class Monad m => MonadTracing m where Source #

Minimal complete definition

Nothing

Instances

Instances details
MonadTracing m => MonadTracing (LoggingT m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

(MonadTracing m, MonadUnliftIO m) => MonadTracing (ResourceT m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

MonadTracing m => MonadTracing (MaybeT m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

MonadTracing m => MonadTracing (ExceptT e m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

MonadTracing m => MonadTracing (IdentityT m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

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

Defined in OTel.API.Trace.Core.Internal

MonadTracing m => MonadTracing (StateT r m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

MonadTracing m => MonadTracing (StateT r m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

(MonadTracing m, Monoid w) => MonadTracing (WriterT w m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

(MonadTracing m, Monoid w) => MonadTracing (WriterT w m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

(MonadTracing m, Monoid w) => MonadTracing (RWST r w s m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

(MonadTracing m, Monoid w) => MonadTracing (RWST r w s m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

class (MonadTracing m, MonadIO m) => MonadTracingIO m where Source #

Minimal complete definition

Nothing

Methods

askTracerIO :: m Tracer Source #

default askTracerIO :: (MonadTrans t, MonadTracingIO n, m ~ t n) => m Tracer Source #

Instances

Instances details
MonadTracingIO m => MonadTracingIO (LoggingT m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

(MonadTracingIO m, MonadUnliftIO m) => MonadTracingIO (ResourceT m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

MonadTracingIO m => MonadTracingIO (MaybeT m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

MonadTracingIO m => MonadTracingIO (ExceptT e m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

MonadTracingIO m => MonadTracingIO (IdentityT m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

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

Defined in OTel.API.Trace.Core.Internal

MonadTracingIO m => MonadTracingIO (StateT r m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

MonadTracingIO m => MonadTracingIO (StateT r m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

(MonadTracingIO m, Monoid w) => MonadTracingIO (WriterT w m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

(MonadTracingIO m, Monoid w) => MonadTracingIO (WriterT w m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

(MonadTracingIO m, Monoid w) => MonadTracingIO (RWST r w s m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Methods

askTracerIO :: RWST r w s m Tracer Source #

(MonadTracingIO m, Monoid w) => MonadTracingIO (RWST r w s m) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Methods

askTracerIO :: RWST r w s m Tracer Source #

data TraceId Source #

Constructors

TraceId 

Instances

Instances details
ToJSON TraceId Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Show TraceId Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Eq TraceId Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Methods

(==) :: TraceId -> TraceId -> Bool #

(/=) :: TraceId -> TraceId -> Bool #

newtype SpanId Source #

Constructors

SpanId 

Fields

Instances

Instances details
ToJSON SpanId Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Show SpanId Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Eq SpanId Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Methods

(==) :: SpanId -> SpanId -> Bool #

(/=) :: SpanId -> SpanId -> Bool #

foldMapWithKeyTraceState :: forall m. Monoid m => (Key Text -> Text -> m) -> TraceState -> m Source #

newtype TraceStateBuilder a Source #

Instances

Instances details
Applicative TraceStateBuilder Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Functor TraceStateBuilder Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Monoid a => Monoid (TraceStateBuilder a) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Semigroup a => Semigroup (TraceStateBuilder a) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

KV (TraceStateBuilder TraceState) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

type KVConstraints (TraceStateBuilder TraceState) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

newtype SpanEvents (attrs :: AttrsFor -> Type) Source #

Constructors

SpanEvents 

Fields

Instances

Instances details
ToJSON (SpanEvents Attrs) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Monoid (SpanEvents attrs) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Methods

mempty :: SpanEvents attrs #

mappend :: SpanEvents attrs -> SpanEvents attrs -> SpanEvents attrs #

mconcat :: [SpanEvents attrs] -> SpanEvents attrs #

Semigroup (SpanEvents attrs) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Methods

(<>) :: SpanEvents attrs -> SpanEvents attrs -> SpanEvents attrs #

sconcat :: NonEmpty (SpanEvents attrs) -> SpanEvents attrs #

stimes :: Integral b => b -> SpanEvents attrs -> SpanEvents attrs #

Show (attrs 'AttrsForSpanEvent) => Show (SpanEvents attrs) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Methods

showsPrec :: Int -> SpanEvents attrs -> ShowS #

show :: SpanEvents attrs -> String #

showList :: [SpanEvents attrs] -> ShowS #

Eq (attrs 'AttrsForSpanEvent) => Eq (SpanEvents attrs) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Methods

(==) :: SpanEvents attrs -> SpanEvents attrs -> Bool #

(/=) :: SpanEvents attrs -> SpanEvents attrs -> Bool #

data SpanEvent (attrs :: AttrsFor -> Type) Source #

Instances

Instances details
ToJSON (SpanEvent Attrs) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Show (attrs 'AttrsForSpanEvent) => Show (SpanEvent attrs) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Methods

showsPrec :: Int -> SpanEvent attrs -> ShowS #

show :: SpanEvent attrs -> String #

showList :: [SpanEvent attrs] -> ShowS #

Eq (attrs 'AttrsForSpanEvent) => Eq (SpanEvent attrs) Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Methods

(==) :: SpanEvent attrs -> SpanEvent attrs -> Bool #

(/=) :: SpanEvent attrs -> SpanEvent attrs -> Bool #

newtype SpanLinks (attrs :: AttrsFor -> Type) Source #

Constructors

SpanLinks 

Fields

Instances

data SpanLink (attrs :: AttrsFor -> Type) Source #

Instances

newtype SpanLinkName Source #

Constructors

SpanLinkName 

Fields

newtype SpanName Source #

Constructors

SpanName 

Fields

Instances

Instances details
ToJSON SpanName Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

IsString SpanName Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Show SpanName Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

Eq SpanName Source # 
Instance details

Defined in OTel.API.Trace.Core.Internal

spanIsChildOf :: Span attrs -> Span attrs -> Bool Source #