Datadog APM Plugin
The datadog APM plugin allows using time series data
from Datadog to make scaling decisions.
Agent Configuration Options
apm "datadog" {
driver = "datadog"
config = {
dd_api_key = "<api key>"
dd_app_key = "<app key>"
dd_api_rate_per_sec = "200"
site = "datadoghq.eu"
}
}
dd_api_key(string: <required>)- The Datadog API key to use for authentication.dd_app_key(string: <required>)- The Datadog application key to use for authentication.dd_api_rate_per_sec(string: "")- Maximum rate limit to apply to the underlying HTTP client used to query the Datadog API. The value must be an integer. If omitted, the plugin does not limit requests to the Datadog API.site(string: "datadoghq.com")- The Datadog site to connect to.
The Datadog plugin can also read its configuration options via environment
variables. The accepted keys are DD_API_KEY and DD_APP_KEY. The agent
configuration parameters take precedence over the environment variables.
Policy Configuration Options
check {
source = "datadog"
query = "avg:proxy.backend.response.time{proxy-service:web-app}"
# ...
}