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

Instana.SDK.Config

Description

 
Synopsis

Documentation

data Config Source #

Configuration for the Instana SDK. Please use the defaultConfig function and then modify individual settings via record syntax For more information, see http://www.yesodweb.com/book/settings-types.

Instances

Instances details
Eq Config Source # 
Instance details

Defined in Instana.SDK.Config

Methods

(==) :: Config -> Config -> Bool #

(/=) :: Config -> Config -> Bool #

Generic Config Source # 
Instance details

Defined in Instana.SDK.Config

Associated Types

type Rep Config :: Type -> Type #

Methods

from :: Config -> Rep Config x #

to :: Rep Config x -> Config #

type Rep Config Source # 
Instance details

Defined in Instana.SDK.Config

type Rep Config = D1 ('MetaData "Config" "Instana.SDK.Config" "instana-haskell-trace-sdk-0.5.0.0-CC1L5pLij5V4IZu4epwYU5" 'False) (C1 ('MetaCons "Config" 'PrefixI 'True) ((S1 ('MetaSel ('Just "agentHost") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)) :*: (S1 ('MetaSel ('Just "agentPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "serviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe String)))) :*: (S1 ('MetaSel ('Just "forceTransmissionAfter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "forceTransmissionStartingAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "maxBufferedSpans") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe Int))))))

agentHost :: Config -> Maybe String Source #

IP or host name of the Instana agent

agentPort :: Config -> Maybe Int Source #

Port of the Instana agent

defaultConfig :: Config Source #

Populates all config values as Nothing, so that the Instana SDK relies on environment variables or on its default config values (in this order) internally.

forceTransmissionAfter :: Config -> Maybe Int Source #

Spans are usually buffered before being transmitted to the agent. This setting forces the transmission of all buffered spans after the given amount of milliseconds. Default: 1000.

forceTransmissionStartingAt :: Config -> Maybe Int Source #

This setting forces the transmission of all buffered spans when the given number of spans has been buffered.

maxBufferedSpans :: Config -> Maybe Int Source #

Limits the number of spans to buffer. When the limit is reached, spans will be dropped. This setting is a safe guard against memory leaks from buffering excessive amounts of spans. It must be larger than forceTransmissionStartingAt.

serviceName :: Config -> Maybe String Source #

Overrides the default service name that is used in Instana.