OpenTelemetry.Propagation

opentelemetry-0.8.0

Safe Haskell | None
Language | Haskell2010

OpenTelemetry.Propagation

# Documentation

data PropagationFormat #

Constructors

PropagationFormat |
Fields propagateFromHeaders :: forall key. (Semigroup key, IsString key, Eq key) => [(key, ByteString)] -> Maybe SpanContext propagateToHeaders :: forall key. (Semigroup key, IsString key, Eq key) => SpanContext -> [(key, ByteString)]

#### Instances

Instances details

Semigroup PropagationFormat # | (p1 <> p2) parses like p1, then p2 as a fallback. (p1 <> p2) injects like p1.
Instance details Defined in OpenTelemetry.Propagation Methods (<>) :: PropagationFormat -> PropagationFormat -> PropagationFormat # sconcat :: NonEmpty PropagationFormat -> PropagationFormat # stimes :: Integral b => b -> PropagationFormat -> PropagationFormat #

w3cTraceContext :: PropagationFormat #

b3 :: PropagationFormat #

otTracer :: PropagationFormat #

typical_opentracing_format_with_prefix :: String -> PropagationFormat #

parseSpanContext :: ByteString -> Maybe SpanContext #

isLowerHexDigit :: Char -> Bool #

fromHex :: ByteString -> Maybe Word64 #

encode_u64 :: Word64 -> ByteString #

decode_u64 :: ByteString -> Maybe Word64 #