Copyright | (c) Ian Duncan 2021 |
---|---|
License | BSD-3 |
Maintainer | Ian Duncan |
Stability | experimental |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
The recommended tracing interface for application developers
See OpenTelemetry.Trace for an interface that's more lower-level, but more flexible.
Synopsis
- inSpan :: (MonadUnliftIO m, MonadTracer m, HasCallStack) => Text -> SpanArguments -> m a -> m a
- inSpan' :: (MonadUnliftIO m, MonadTracer m, HasCallStack) => Text -> SpanArguments -> (Span -> m a) -> m a
- inSpan'' :: (MonadUnliftIO m, MonadTracer m, HasCallStack) => CallStack -> Text -> SpanArguments -> (Span -> m a) -> m a
- class Monad m => MonadTracer m where
Documentation
inSpan :: (MonadUnliftIO m, MonadTracer m, HasCallStack) => Text -> SpanArguments -> m a -> m a Source #
inSpan' :: (MonadUnliftIO m, MonadTracer m, HasCallStack) => Text -> SpanArguments -> (Span -> m a) -> m a Source #
inSpan'' :: (MonadUnliftIO m, MonadTracer m, HasCallStack) => CallStack -> Text -> SpanArguments -> (Span -> m a) -> m a Source #