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

Safe HaskellNone
LanguageHaskell2010

Instana.SDK.Span.EntrySpan

Description

 
Synopsis

Documentation

data EntrySpan Source #

An entry span.

Instances
Eq EntrySpan Source # 
Instance details

Defined in Instana.SDK.Span.EntrySpan

Show EntrySpan Source # 
Instance details

Defined in Instana.SDK.Span.EntrySpan

Generic EntrySpan Source # 
Instance details

Defined in Instana.SDK.Span.EntrySpan

Associated Types

type Rep EntrySpan :: Type -> Type #

type Rep EntrySpan Source # 
Instance details

Defined in Instana.SDK.Span.EntrySpan

type Rep EntrySpan = D1 (MetaData "EntrySpan" "Instana.SDK.Span.EntrySpan" "instana-haskell-trace-sdk-0.2.0.0-9YMe1JFJUpt6EaXKkJRf8h" False) (C1 (MetaCons "RootEntrySpan" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 RootEntry)) :+: C1 (MetaCons "NonRootEntrySpan" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 NonRootEntry)))

traceId :: EntrySpan -> Id Source #

Accessor for the trace ID.

spanId :: EntrySpan -> Id Source #

Accessor for the span ID.

parentId :: EntrySpan -> Maybe Id Source #

Parent span ID.

spanName :: EntrySpan -> Text Source #

Name of span.

timestamp :: EntrySpan -> Int Source #

Start time.

errorCount :: EntrySpan -> Int Source #

Error count (error that occured while this span has been active).

spanData :: EntrySpan -> Value Source #

Optional additional span data.

addData :: Value -> EntrySpan -> EntrySpan Source #

Add a value to the span's data section.

addToErrorCount :: Int -> EntrySpan -> EntrySpan Source #

Add to the error count.