instana-haskell-trace-sdk-0.6.0.0: SDK for adding custom Instana tracing support to Haskell applications.
Safe HaskellNone
LanguageHaskell2010

Instana.SDK.Span.ExitSpan

Description

 
Synopsis

Documentation

data ExitSpan Source #

An exit span.

Constructors

ExitSpan 

Fields

  • parentSpan :: EntrySpan

    The parent span

  • spanId :: Id

    The span ID

  • spanName :: Text

    The span name/type, e.g. a short string like "haskell.wai.server", "haskell.http.client". For SDK spans this is always "sdk", the actual name is then in span.data.sdk.name.

  • timestamp :: Int

    The time the span started

  • serviceName :: Maybe Text

    An attribute for overriding the name of the service in Instana

  • errorCount :: Int

    The number of errors that occured during processing

  • spanData :: Value

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

Instances

Instances details
Eq ExitSpan Source # 
Instance details

Defined in Instana.SDK.Span.ExitSpan

Show ExitSpan Source # 
Instance details

Defined in Instana.SDK.Span.ExitSpan

Generic ExitSpan Source # 
Instance details

Defined in Instana.SDK.Span.ExitSpan

Associated Types

type Rep ExitSpan :: Type -> Type #

Methods

from :: ExitSpan -> Rep ExitSpan x #

to :: Rep ExitSpan x -> ExitSpan #

type Rep ExitSpan Source # 
Instance details

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

setServiceName :: Text -> ExitSpan -> ExitSpan Source #

Override the name of the service for the associated call in Instana.