| Stability | experimental |
|---|---|
| Safe Haskell | None |
| Language | Haskell2010 |
OpenTelemetry.Processor
Description
Deprecated: use OpenTelemetry.Processor.Span instead
This module is deprecated; prefer Span.
Synopsis
- type Processor = SpanProcessor
- data SpanProcessor where
- pattern Processor :: (ImmutableSpan -> Context -> IO ()) -> (ImmutableSpan -> IO ()) -> IO ShutdownResult -> IO FlushResult -> SpanProcessor
- data ShutdownResult
Documentation
type Processor = SpanProcessor Source #
data SpanProcessor where Source #
Span processors receive callbacks on span start and end.
Spec: https://opentelemetry.io/docs/specs/otel/trace/sdk/#span-processor
Since: 0.0.1.0
Bundled Patterns
| pattern Processor :: (ImmutableSpan -> Context -> IO ()) -> (ImmutableSpan -> IO ()) -> IO ShutdownResult -> IO FlushResult -> SpanProcessor |
data ShutdownResult Source #
Since: 0.0.1.0
Constructors
| ShutdownSuccess | |
| ShutdownFailure | |
| ShutdownTimeout |
Instances
| Show ShutdownResult Source # | |
Defined in OpenTelemetry.Internal.Common.Types Methods showsPrec :: Int -> ShutdownResult -> ShowS # show :: ShutdownResult -> String # showList :: [ShutdownResult] -> ShowS # | |
| Eq ShutdownResult Source # | |
Defined in OpenTelemetry.Internal.Common.Types Methods (==) :: ShutdownResult -> ShutdownResult -> Bool # (/=) :: ShutdownResult -> ShutdownResult -> Bool # | |