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.2.0.0-9YMe1JFJUpt6EaXKkJRf8h" 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 "agentName") 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)))))) |
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.