otel-sdk-trace-0.0.0: STUB
Safe HaskellSafe-Inferred
LanguageHaskell2010

OTel.SDK.Trace.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.

data OTLPSpanExporterSpec Source #

Constructors

OTLPSpanExporterSpec 

Fields

data OTLPProtocol Source #

Instances

Instances details
Show OTLPProtocol Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Eq OTLPProtocol Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

alwaysOnSampler :: forall a. Logger -> (SamplerSpec -> IO a) -> IO a Source #

alwaysOffSampler :: forall a. Logger -> (SamplerSpec -> IO a) -> IO a Source #

newtype SpanProcessorM a Source #

Instances

Instances details
MonadIO SpanProcessorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

liftIO :: IO a -> SpanProcessorM a #

Applicative SpanProcessorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Functor SpanProcessorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

fmap :: (a -> b) -> SpanProcessorM a -> SpanProcessorM b #

(<$) :: a -> SpanProcessorM b -> SpanProcessorM a #

Monad SpanProcessorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadCatch SpanProcessorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadMask SpanProcessorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadThrow SpanProcessorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

throwM :: (HasCallStack, Exception e) => e -> SpanProcessorM a #

MonadLogger SpanProcessorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

monadLoggerLog :: ToLogStr msg => Loc -> LogSource -> LogLevel -> msg -> SpanProcessorM () #

MonadLoggerIO SpanProcessorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadUnliftIO SpanProcessorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

withRunInIO :: ((forall a. SpanProcessorM a -> IO a) -> IO b) -> SpanProcessorM b #

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

Defined in OTel.SDK.Trace.Internal

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

Defined in OTel.SDK.Trace.Internal

newtype SpanExporterM a Source #

Constructors

SpanExporterM 

Instances

Instances details
MonadIO SpanExporterM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

liftIO :: IO a -> SpanExporterM a #

Applicative SpanExporterM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Functor SpanExporterM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

fmap :: (a -> b) -> SpanExporterM a -> SpanExporterM b #

(<$) :: a -> SpanExporterM b -> SpanExporterM a #

Monad SpanExporterM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadCatch SpanExporterM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadMask SpanExporterM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadThrow SpanExporterM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

throwM :: (HasCallStack, Exception e) => e -> SpanExporterM a #

MonadLogger SpanExporterM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

monadLoggerLog :: ToLogStr msg => Loc -> LogSource -> LogLevel -> msg -> SpanExporterM () #

MonadLoggerIO SpanExporterM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadUnliftIO SpanExporterM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

withRunInIO :: ((forall a. SpanExporterM a -> IO a) -> IO b) -> SpanExporterM b #

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

Defined in OTel.SDK.Trace.Internal

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

Defined in OTel.SDK.Trace.Internal

newtype SamplerM a Source #

Constructors

SamplerM 

Fields

Instances

Instances details
MonadIO SamplerM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

liftIO :: IO a -> SamplerM a #

Applicative SamplerM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

pure :: a -> SamplerM a #

(<*>) :: SamplerM (a -> b) -> SamplerM a -> SamplerM b #

liftA2 :: (a -> b -> c) -> SamplerM a -> SamplerM b -> SamplerM c #

(*>) :: SamplerM a -> SamplerM b -> SamplerM b #

(<*) :: SamplerM a -> SamplerM b -> SamplerM a #

Functor SamplerM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

fmap :: (a -> b) -> SamplerM a -> SamplerM b #

(<$) :: a -> SamplerM b -> SamplerM a #

Monad SamplerM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

(>>=) :: SamplerM a -> (a -> SamplerM b) -> SamplerM b #

(>>) :: SamplerM a -> SamplerM b -> SamplerM b #

return :: a -> SamplerM a #

MonadCatch SamplerM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

catch :: (HasCallStack, Exception e) => SamplerM a -> (e -> SamplerM a) -> SamplerM a #

MonadMask SamplerM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

mask :: HasCallStack => ((forall a. SamplerM a -> SamplerM a) -> SamplerM b) -> SamplerM b #

uninterruptibleMask :: HasCallStack => ((forall a. SamplerM a -> SamplerM a) -> SamplerM b) -> SamplerM b #

generalBracket :: HasCallStack => SamplerM a -> (a -> ExitCase b -> SamplerM c) -> (a -> SamplerM b) -> SamplerM (b, c) #

MonadThrow SamplerM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

throwM :: (HasCallStack, Exception e) => e -> SamplerM a #

MonadLogger SamplerM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

monadLoggerLog :: ToLogStr msg => Loc -> LogSource -> LogLevel -> msg -> SamplerM () #

MonadLoggerIO SamplerM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

askLoggerIO :: SamplerM (Loc -> LogSource -> LogLevel -> LogStr -> IO ()) #

MonadUnliftIO SamplerM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

withRunInIO :: ((forall a. SamplerM a -> IO a) -> IO b) -> SamplerM b #

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

Defined in OTel.SDK.Trace.Internal

Methods

mempty :: SamplerM a #

mappend :: SamplerM a -> SamplerM a -> SamplerM a #

mconcat :: [SamplerM a] -> SamplerM a #

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

Defined in OTel.SDK.Trace.Internal

Methods

(<>) :: SamplerM a -> SamplerM a -> SamplerM a #

sconcat :: NonEmpty (SamplerM a) -> SamplerM a #

stimes :: Integral b => b -> SamplerM a -> SamplerM a #

newtype IdGeneratorM a Source #

Constructors

IdGeneratorM 

Fields

Instances

Instances details
MonadIO IdGeneratorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

liftIO :: IO a -> IdGeneratorM a #

Applicative IdGeneratorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Functor IdGeneratorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

fmap :: (a -> b) -> IdGeneratorM a -> IdGeneratorM b #

(<$) :: a -> IdGeneratorM b -> IdGeneratorM a #

Monad IdGeneratorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadCatch IdGeneratorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

catch :: (HasCallStack, Exception e) => IdGeneratorM a -> (e -> IdGeneratorM a) -> IdGeneratorM a #

MonadMask IdGeneratorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadThrow IdGeneratorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

throwM :: (HasCallStack, Exception e) => e -> IdGeneratorM a #

MonadLogger IdGeneratorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

monadLoggerLog :: ToLogStr msg => Loc -> LogSource -> LogLevel -> msg -> IdGeneratorM () #

MonadLoggerIO IdGeneratorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadUnliftIO IdGeneratorM Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

withRunInIO :: ((forall a. IdGeneratorM a -> IO a) -> IO b) -> IdGeneratorM b #

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

Defined in OTel.SDK.Trace.Internal

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

Defined in OTel.SDK.Trace.Internal

newtype PRNG Source #

Constructors

PRNG 

Fields

genUniform :: forall a. Variate a => IdGeneratorM a Source #

newtype OnException a #

Constructors

OnException 

Instances

Instances details
MonadIO OnException 
Instance details

Defined in OTel.API.Common.Internal

Methods

liftIO :: IO a -> OnException a #

Applicative OnException 
Instance details

Defined in OTel.API.Common.Internal

Methods

pure :: a -> OnException a #

(<*>) :: OnException (a -> b) -> OnException a -> OnException b #

liftA2 :: (a -> b -> c) -> OnException a -> OnException b -> OnException c #

(*>) :: OnException a -> OnException b -> OnException b #

(<*) :: OnException a -> OnException b -> OnException a #

Functor OnException 
Instance details

Defined in OTel.API.Common.Internal

Methods

fmap :: (a -> b) -> OnException a -> OnException b #

(<$) :: a -> OnException b -> OnException a #

Monad OnException 
Instance details

Defined in OTel.API.Common.Internal

Methods

(>>=) :: OnException a -> (a -> OnException b) -> OnException b #

(>>) :: OnException a -> OnException b -> OnException b #

return :: a -> OnException a #

MonadCatch OnException 
Instance details

Defined in OTel.API.Common.Internal

Methods

catch :: (HasCallStack, Exception e) => OnException a -> (e -> OnException a) -> OnException a #

MonadMask OnException 
Instance details

Defined in OTel.API.Common.Internal

Methods

mask :: HasCallStack => ((forall a. OnException a -> OnException a) -> OnException b) -> OnException b #

uninterruptibleMask :: HasCallStack => ((forall a. OnException a -> OnException a) -> OnException b) -> OnException b #

generalBracket :: HasCallStack => OnException a -> (a -> ExitCase b -> OnException c) -> (a -> OnException b) -> OnException (b, c) #

MonadThrow OnException 
Instance details

Defined in OTel.API.Common.Internal

Methods

throwM :: (HasCallStack, Exception e) => e -> OnException a #

MonadLogger OnException 
Instance details

Defined in OTel.API.Common.Internal

Methods

monadLoggerLog :: ToLogStr msg => Loc -> LogSource -> LogLevel -> msg -> OnException () #

MonadLoggerIO OnException 
Instance details

Defined in OTel.API.Common.Internal

Methods

askLoggerIO :: OnException (Loc -> LogSource -> LogLevel -> LogStr -> IO ()) #

MonadUnliftIO OnException 
Instance details

Defined in OTel.API.Common.Internal

Methods

withRunInIO :: ((forall a. OnException a -> IO a) -> IO b) -> OnException b #

Monoid a => Monoid (OnException a) 
Instance details

Defined in OTel.API.Common.Internal

Semigroup a => Semigroup (OnException a) 
Instance details

Defined in OTel.API.Common.Internal

newtype OnTimeout a #

Constructors

OnTimeout 

Fields

Instances

Instances details
MonadIO OnTimeout 
Instance details

Defined in OTel.API.Common.Internal

Methods

liftIO :: IO a -> OnTimeout a #

Applicative OnTimeout 
Instance details

Defined in OTel.API.Common.Internal

Methods

pure :: a -> OnTimeout a #

(<*>) :: OnTimeout (a -> b) -> OnTimeout a -> OnTimeout b #

liftA2 :: (a -> b -> c) -> OnTimeout a -> OnTimeout b -> OnTimeout c #

(*>) :: OnTimeout a -> OnTimeout b -> OnTimeout b #

(<*) :: OnTimeout a -> OnTimeout b -> OnTimeout a #

Functor OnTimeout 
Instance details

Defined in OTel.API.Common.Internal

Methods

fmap :: (a -> b) -> OnTimeout a -> OnTimeout b #

(<$) :: a -> OnTimeout b -> OnTimeout a #

Monad OnTimeout 
Instance details

Defined in OTel.API.Common.Internal

Methods

(>>=) :: OnTimeout a -> (a -> OnTimeout b) -> OnTimeout b #

(>>) :: OnTimeout a -> OnTimeout b -> OnTimeout b #

return :: a -> OnTimeout a #

MonadCatch OnTimeout 
Instance details

Defined in OTel.API.Common.Internal

Methods

catch :: (HasCallStack, Exception e) => OnTimeout a -> (e -> OnTimeout a) -> OnTimeout a #

MonadMask OnTimeout 
Instance details

Defined in OTel.API.Common.Internal

Methods

mask :: HasCallStack => ((forall a. OnTimeout a -> OnTimeout a) -> OnTimeout b) -> OnTimeout b #

uninterruptibleMask :: HasCallStack => ((forall a. OnTimeout a -> OnTimeout a) -> OnTimeout b) -> OnTimeout b #

generalBracket :: HasCallStack => OnTimeout a -> (a -> ExitCase b -> OnTimeout c) -> (a -> OnTimeout b) -> OnTimeout (b, c) #

MonadThrow OnTimeout 
Instance details

Defined in OTel.API.Common.Internal

Methods

throwM :: (HasCallStack, Exception e) => e -> OnTimeout a #

MonadLogger OnTimeout 
Instance details

Defined in OTel.API.Common.Internal

Methods

monadLoggerLog :: ToLogStr msg => Loc -> LogSource -> LogLevel -> msg -> OnTimeout () #

MonadLoggerIO OnTimeout 
Instance details

Defined in OTel.API.Common.Internal

Methods

askLoggerIO :: OnTimeout (Loc -> LogSource -> LogLevel -> LogStr -> IO ()) #

MonadUnliftIO OnTimeout 
Instance details

Defined in OTel.API.Common.Internal

Methods

withRunInIO :: ((forall a. OnTimeout a -> IO a) -> IO b) -> OnTimeout b #

Monoid a => Monoid (OnTimeout a) 
Instance details

Defined in OTel.API.Common.Internal

Semigroup a => Semigroup (OnTimeout a) 
Instance details

Defined in OTel.API.Common.Internal

Methods

(<>) :: OnTimeout a -> OnTimeout a -> OnTimeout a #

sconcat :: NonEmpty (OnTimeout a) -> OnTimeout a #

stimes :: Integral b => b -> OnTimeout a -> OnTimeout a #

newtype OnSpansExported a Source #

Instances

Instances details
MonadIO OnSpansExported Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

liftIO :: IO a -> OnSpansExported a #

Applicative OnSpansExported Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Functor OnSpansExported Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

fmap :: (a -> b) -> OnSpansExported a -> OnSpansExported b #

(<$) :: a -> OnSpansExported b -> OnSpansExported a #

Monad OnSpansExported Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadCatch OnSpansExported Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadMask OnSpansExported Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadThrow OnSpansExported Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

throwM :: (HasCallStack, Exception e) => e -> OnSpansExported a #

MonadLogger OnSpansExported Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

monadLoggerLog :: ToLogStr msg => Loc -> LogSource -> LogLevel -> msg -> OnSpansExported () #

MonadLoggerIO OnSpansExported Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

MonadUnliftIO OnSpansExported Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

withRunInIO :: ((forall a. OnSpansExported a -> IO a) -> IO b) -> OnSpansExported b #

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

Defined in OTel.SDK.Trace.Internal

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

Defined in OTel.SDK.Trace.Internal

newtype Batch a Source #

Constructors

Batch 

Fields

Instances

Instances details
Foldable Batch Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

fold :: Monoid m => Batch m -> m #

foldMap :: Monoid m => (a -> m) -> Batch a -> m #

foldMap' :: Monoid m => (a -> m) -> Batch a -> m #

foldr :: (a -> b -> b) -> b -> Batch a -> b #

foldr' :: (a -> b -> b) -> b -> Batch a -> b #

foldl :: (b -> a -> b) -> b -> Batch a -> b #

foldl' :: (b -> a -> b) -> b -> Batch a -> b #

foldr1 :: (a -> a -> a) -> Batch a -> a #

foldl1 :: (a -> a -> a) -> Batch a -> a #

toList :: Batch a -> [a] #

null :: Batch a -> Bool #

length :: Batch a -> Int #

elem :: Eq a => a -> Batch a -> Bool #

maximum :: Ord a => Batch a -> a #

minimum :: Ord a => Batch a -> a #

sum :: Num a => Batch a -> a #

product :: Num a => Batch a -> a #

Traversable Batch Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

traverse :: Applicative f => (a -> f b) -> Batch a -> f (Batch b) #

sequenceA :: Applicative f => Batch (f a) -> f (Batch a) #

mapM :: Monad m => (a -> m b) -> Batch a -> m (Batch b) #

sequence :: Monad m => Batch (m a) -> m (Batch a) #

Applicative Batch Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

pure :: a -> Batch a #

(<*>) :: Batch (a -> b) -> Batch a -> Batch b #

liftA2 :: (a -> b -> c) -> Batch a -> Batch b -> Batch c #

(*>) :: Batch a -> Batch b -> Batch b #

(<*) :: Batch a -> Batch b -> Batch a #

Functor Batch Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

fmap :: (a -> b) -> Batch a -> Batch b #

(<$) :: a -> Batch b -> Batch a #

Monad Batch Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

(>>=) :: Batch a -> (a -> Batch b) -> Batch b #

(>>) :: Batch a -> Batch b -> Batch b #

return :: a -> Batch a #

ToJSON a => ToJSON (Batch a) Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Monoid (Batch a) Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

mempty :: Batch a #

mappend :: Batch a -> Batch a -> Batch a #

mconcat :: [Batch a] -> Batch a #

Semigroup (Batch a) Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

(<>) :: Batch a -> Batch a -> Batch a #

sconcat :: NonEmpty (Batch a) -> Batch a #

stimes :: Integral b => b -> Batch a -> Batch a #

Show a => Show (Batch a) Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

showsPrec :: Int -> Batch a -> ShowS #

show :: Batch a -> String #

showList :: [Batch a] -> ShowS #

Eq a => Eq (Batch a) Source # 
Instance details

Defined in OTel.SDK.Trace.Internal

Methods

(==) :: Batch a -> Batch a -> Bool #

(/=) :: Batch a -> Batch a -> Bool #

withConcurrentWorkers :: forall item a. (ToJSON item, Typeable item) => ConcurrentWorkersSpec item -> (ConcurrentWorkers item -> IO a) -> IO a Source #

unlessSTM :: Monoid a => STM Bool -> STM (IO a) -> IO a Source #

withAll :: forall a b. [(a -> b) -> b] -> ([a] -> b) -> b Source #