OpenTelemetry.Eventlog_Internal

opentelemetry-0.8.0

Safe Haskell | None
Language | Haskell2010

OpenTelemetry.Eventlog_Internal

# Documentation

type ProcessLocalSpanSerialNumber = Word64 #

newtype SpanInFlight #

Constructors

SpanInFlight ProcessLocalSpanSerialNumber |

#### Instances

Instances details

Show SpanInFlight # |
Instance details Defined in OpenTelemetry.Eventlog_Internal Methods showsPrec :: Int -> SpanInFlight -> ShowS # show :: SpanInFlight -> String # showList :: [SpanInFlight] -> ShowS #
Eq SpanInFlight # |
Instance details Defined in OpenTelemetry.Eventlog_Internal Methods (==) :: SpanInFlight -> SpanInFlight -> Bool # (/=) :: SpanInFlight -> SpanInFlight -> Bool #
Hashable SpanInFlight # |
Instance details Defined in OpenTelemetry.Eventlog_Internal Methods hashWithSalt :: Int -> SpanInFlight -> Int # hash :: SpanInFlight -> Int #

newtype MsgType #

Constructors

MsgType Word8 |

#### Instances

Instances details

Show MsgType # |
Instance details Defined in OpenTelemetry.Eventlog_Internal Methods showsPrec :: Int -> MsgType -> ShowS # show :: MsgType -> String # showList :: [MsgType] -> ShowS #

pattern BEGIN_SPAN :: MsgType #

pattern END_SPAN :: MsgType #

pattern TAG :: MsgType #

pattern EVENT :: MsgType #

pattern SET_PARENT_CONTEXT :: MsgType #

pattern SET_TRACE_ID :: MsgType #

pattern SET_SPAN_ID :: MsgType #

pattern DECLARE_INSTRUMENT :: MsgType #

pattern METRIC_CAPTURE :: MsgType #

maxMsgLen :: Int #

otelMagic :: Int #

header :: MsgType -> Builder #

headerSize :: Int #

checkSize :: Int -> m -> m #

nextLocalSpan :: MonadIO m => m SpanInFlight #

nextInstrumentId :: MonadIO m => m InstrumentId #

builder_beginSpan :: SpanInFlight -> ByteString -> Builder #

builder_endSpan :: SpanInFlight -> Builder #

builder_key_value :: MsgType -> SpanInFlight -> ByteString -> ByteString -> Builder #

builder_setTag :: SpanInFlight -> ByteString -> ByteString -> Builder #

builder_addEvent :: SpanInFlight -> ByteString -> ByteString -> Builder #

builder_setParentSpanContext :: SpanInFlight -> SpanContext -> Builder #

builder_setTraceId :: SpanInFlight -> TraceId -> Builder #

builder_setSpanId :: SpanInFlight -> SpanId -> Builder #

builder_declareInstrument :: forall (s :: Synchronicity) (a :: Additivity) (m :: Monotonicity). Instrument s a m -> Builder #

builder_captureMetric :: InstrumentId -> Int -> Builder #

traceBuilder :: MonadIO m => Builder -> m () #

beginSpan' :: SpanInFlight -> String -> String #

endSpan' :: SpanInFlight -> String #

setTag' :: SpanInFlight -> String -> ByteString -> String #

addEvent' :: SpanInFlight -> String -> ByteString -> String #

setParentSpanContext' :: SpanInFlight -> SpanContext -> String #

setTraceId' :: SpanInFlight -> TraceId -> String #

setSpanId' :: SpanInFlight -> SpanId -> String #

createInstrument' :: forall (s :: Synchronicity) (a :: Additivity) (m :: Monotonicity). Instrument s a m -> String #

writeMetric' :: InstrumentId -> Int -> String #

instrumentTag :: forall (s :: Synchronicity) (a :: Additivity) (m :: Monotonicity). Instrument s a m -> Int8 #

instrumentTagStr :: forall (s :: Synchronicity) (a :: Additivity) (m :: Monotonicity). Instrument s a m -> String #