instana-haskell-trace-sdk-0.2.0.0: SDK for adding custom Instana tracing support to Haskell applications.
Instana.SDK.Span.RootEntry
Description
Synopsis
data RootEntry Source #
An entry span that is the root span of a trace.
Constructors
Fields
The trace ID and span ID (those are identical for root spans)
The span name/type, e.g. a short string like "yesod", "servant",
The time the span (and trace) started
The number of errors that occured during processing
Additional data for the span. Must be provided as an Value.
Value
Instances
Methods
(==) :: RootEntry -> RootEntry -> Bool #
(/=) :: RootEntry -> RootEntry -> Bool #
showsPrec :: Int -> RootEntry -> ShowS #
show :: RootEntry -> String #
showList :: [RootEntry] -> ShowS #
Associated Types
type Rep RootEntry :: * -> * #
from :: RootEntry -> Rep RootEntry x #
to :: Rep RootEntry x -> RootEntry #
spanId :: RootEntry -> Id Source #
Accessor for the span ID.
traceId :: RootEntry -> Id Source #
Accessor for the trace ID.
addData :: Value -> RootEntry -> RootEntry Source #
Add a value to the span's data section.
addToErrorCount :: Int -> RootEntry -> RootEntry Source #
Add to the error count.