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

OTel.SDK.Trace.Sampler

Documentation

data SamplerM a Source #

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 #