Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DatadogEnvironment is the environment variable key determining the Datadog Environment to use. DatadogEnvironment = "DD_ENV" // DatadogService is the environment variable key for the name of the current service. DatadogService = "DD_SERVICE" // DatadogVersion is the environment variable key for the version of the current service. DatadogVersion = "DD_VERSION" // DatadogDSDEndpoint is the environment variable key for the URL to StatsD. DatadogDSDEndpoint = "DD_DOGSTATSD_URL" // DatadogAPMEndpoint is the environment variable key for the URL to APM. DatadogAPMEndpoint = "DD_TRACE_AGENT_URL" // DatadogEnableExtraProfiling is the environment variable key for whether to enable extra profiling or not. DatadogEnableExtraProfiling = "DD_ENABLE_EXTRA_PROFILING" // DatadogDisable is the environment variable key for whether to disable the Datadog integration. DatadogDisable = "DD_DISABLE" )
Variables ¶
This section is empty.
Functions ¶
func IsDatadogDisabled ¶ added in v2.11.0
func IsDatadogDisabled() bool
IsDatadogDisabled checks if the Datadog integration is disabled. The environment variable DD_DISABLE is checked. If the variable is missing or cannot be parsed to a bool the Datadog integration is assumed to be enabled.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
generated
|
|
mocks/DataDog/datadog-go/v5/statsd
Code generated by MockGen.
|
Code generated by MockGen. |
mocks/labstack/echo/v4
Code generated by MockGen.
|
Code generated by MockGen. |
mocks/metric
Code generated by MockGen.
|
Code generated by MockGen. |
Click to show internal directories.
Click to hide internal directories.