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

Safe HaskellNone
LanguageHaskell2010

Instana.SDK.Span.SpanType

Description

 

Synopsis

Documentation

data Registered Source #

All registered spans that the Haskell trace SDK will produce.

Instances

Eq Registered Source # 
Show Registered Source # 
Generic Registered Source # 

Associated Types

type Rep Registered :: * -> * #

type Rep Registered Source # 
type Rep Registered = D1 * (MetaData "Registered" "Instana.SDK.Span.SpanType" "instana-haskell-trace-sdk-0.3.0.0-BjYXpYEiONW3CpKOWUWtGH" False) ((:+:) * (C1 * (MetaCons "HaskellWaiServer" PrefixI False) (U1 *)) (C1 * (MetaCons "HaskellHttpClient" PrefixI False) (U1 *)))

data SpanType Source #

Differentiates between SDK spans and registered spans (which receive special treatment by Instana's processing pipeline.

Instances

Eq SpanType Source # 
Show SpanType Source # 
IsString SpanType Source #

Enables passing any string as the span type argument to SDK.startEntrySpan etc. - this will be automatically converted to an SDK span.

Generic SpanType Source # 

Associated Types

type Rep SpanType :: * -> * #

Methods

from :: SpanType -> Rep SpanType x #

to :: Rep SpanType x -> SpanType #

type Rep SpanType Source # 
type Rep SpanType = D1 * (MetaData "SpanType" "Instana.SDK.Span.SpanType" "instana-haskell-trace-sdk-0.3.0.0-BjYXpYEiONW3CpKOWUWtGH" False) ((:+:) * (C1 * (MetaCons "SdkSpan" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text))) (C1 * (MetaCons "RegisteredSpan" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Registered))))

spanName :: SpanType -> Text Source #

Returns the wire value of span.n for a SpanType value.

initialData :: SpanKind -> SpanType -> Value Source #

Returns the initial data (span.data) for a SpanType value.