| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
OpenTelemetry.Common
Documentation
Constructors
| Tracer | |
Fields
| |
data SpanContext Source #
Constructors
| SpanContext !SpanId !TraceId |
Instances
| Eq SpanContext Source # | |
Defined in OpenTelemetry.Common | |
| Show SpanContext Source # | |
Defined in OpenTelemetry.Common Methods showsPrec :: Int -> SpanContext -> ShowS # show :: SpanContext -> String # showList :: [SpanContext] -> ShowS # | |
| Generic SpanContext Source # | |
Defined in OpenTelemetry.Common Associated Types type Rep SpanContext :: Type -> Type # | |
| type Rep SpanContext Source # | |
Defined in OpenTelemetry.Common type Rep SpanContext = D1 (MetaData "SpanContext" "OpenTelemetry.Common" "opentelemetry-0.1.0-BAvROEGZKIiIoVcgHpNy9P" False) (C1 (MetaCons "SpanContext" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SpanId) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TraceId))) | |
Constructors
| StringTagValue !Text | |
| BoolTagValue !Bool | |
| IntTagValue !Int | |
| DoubleTagValue !Double |
class ToTagValue a where Source #
Methods
toTagValue :: a -> TagValue Source #
Instances
| ToTagValue Bool Source # | |
Defined in OpenTelemetry.Common Methods toTagValue :: Bool -> TagValue Source # | |
| ToTagValue Int Source # | |
Defined in OpenTelemetry.Common Methods toTagValue :: Int -> TagValue Source # | |
| ToTagValue String Source # | |
Defined in OpenTelemetry.Common Methods toTagValue :: String -> TagValue Source # | |
Constructors
| Span | |
Fields
| |
spanTraceId :: Span -> TraceId Source #
Constructors
| SpanEvent | |
Fields
| |
data SpanStatus Source #
Constructors
| OK |
Instances
| Eq SpanStatus Source # | |
Defined in OpenTelemetry.Common | |
| Show SpanStatus Source # | |
Defined in OpenTelemetry.Common Methods showsPrec :: Int -> SpanStatus -> ShowS # show :: SpanStatus -> String # showList :: [SpanStatus] -> ShowS # | |
data SpanProcessor Source #
data ExportResult Source #
Instances
| Eq ExportResult Source # | |
Defined in OpenTelemetry.Common | |
| Show ExportResult Source # | |
Defined in OpenTelemetry.Common Methods showsPrec :: Int -> ExportResult -> ShowS # show :: ExportResult -> String # showList :: [ExportResult] -> ShowS # | |
data OpenTelemetryConfig Source #
Constructors
| OpenTelemetryConfig | |
Fields | |
noopExporter :: Exporter whatever Source #