opentelemetry-0.8.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

OpenTelemetry.Eventlog_Internal

Documentation

newtype SpanInFlight #

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_SPAN_ID :: 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_key_value :: MsgType -> SpanInFlight -> ByteString -> ByteString -> Builder #

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

builder_addEvent :: SpanInFlight -> ByteString -> ByteString -> 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 #

createInstrument' :: Instrument s a m -> String #

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

instrumentTag :: Instrument s a m -> Int8 #

instrumentTagStr :: Instrument s a m -> String #