instana-haskell-trace-sdk-0.3.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

Eq Config Source # 

Methods

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

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

Generic Config Source # 

Associated Types

type Rep Config :: * -> * #

Methods

from :: Config -> Rep Config x #

to :: Rep Config x -> Config #

type Rep Config Source # 

agentHost :: Config -> Maybe String Source #

IP or host name of the Instana agent

agentPort :: Config -> Maybe Int Source #

Port of the Instana agent

agentName :: Config -> Maybe String Source #

When establishing a connection to the Instana agent, the SDK validates the Instana agent's Server HTTP response header. Should you have changed the Server name on the agent side, you can use parameter to provide the name to match that header against.

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.