instana-haskell-trace-sdk-0.2.0.0: SDK for adding custom Instana tracing support to Haskell applications.
Instana.SDK.Span.ExitSpan
Description
data ExitSpan Source #
An exit span.
Constructors
Fields
The parent span
The span ID
The span name/type, e.g. a short string like "yesod", "servant", "rpc-server", ...
The time the span started
The number of errors that occured during processing
Additional data for the span. Must be provided as an Value.
Value
Defined in Instana.SDK.Span.ExitSpan
Methods
(==) :: ExitSpan -> ExitSpan -> Bool #
(/=) :: ExitSpan -> ExitSpan -> Bool #
showsPrec :: Int -> ExitSpan -> ShowS #
show :: ExitSpan -> String #
showList :: [ExitSpan] -> ShowS #
Associated Types
type Rep ExitSpan :: Type -> Type #
from :: ExitSpan -> Rep ExitSpan x #
to :: Rep ExitSpan x -> ExitSpan #
parentId :: ExitSpan -> Id Source #
Parent span ID.
traceId :: ExitSpan -> Id Source #
Accessor for the trace ID.
addData :: Value -> ExitSpan -> ExitSpan Source #
Add a value to the span's data section.
addToErrorCount :: Int -> ExitSpan -> ExitSpan Source #
Add to the error count.