instana-haskell-trace-sdk-0.2.0.0: SDK for adding custom Instana tracing support to Haskell applications.

Safe HaskellNone
LanguageHaskell2010

Instana.SDK.Span.RootEntry

Description

 
Synopsis

Documentation

data RootEntry Source #

An entry span that is the root span of a trace.

Constructors

RootEntry 

Fields

  • spanAndTraceId :: Id

    The trace ID and span ID (those are identical for root spans)

  • spanName :: Text

    The span name/type, e.g. a short string like "yesod", "servant",

  • timestamp :: Int

    The time the span (and trace) started

  • errorCount :: Int

    The number of errors that occured during processing

  • spanData :: Value

    Additional data for the span. Must be provided as an Value.

Instances
Eq RootEntry Source # 
Instance details

Defined in Instana.SDK.Span.RootEntry

Show RootEntry Source # 
Instance details

Defined in Instana.SDK.Span.RootEntry

Generic RootEntry Source # 
Instance details

Defined in Instana.SDK.Span.RootEntry

Associated Types

type Rep RootEntry :: Type -> Type #

type Rep RootEntry Source # 
Instance details

Defined in Instana.SDK.Span.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.