Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
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 # | |
Generic Config Source # | |
type Rep Config Source # | |
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)))))) |
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.