datadog
Monitoring, alerting and reporting platform for cloud platforms and applications.
Provider Summary (v23.12.00194)
total services: 41
total methods: 405
total methods: 405
total resources: 96
total selectable resources: 88
total selectable resources: 88
See also:
[SHOW
] [DESCRIBE
] [REGISTRY
]
Installation
To pull the latest version of the datadog
provider, run the following command:
REGISTRY PULL datadog;
To view previous provider versions or to pull a specific provider version, see here.
Authentication
The following system environment variables are used for authentication by default:
DD_API_KEY
- Datadog API key (see Datadog API Key Documentation)DD_APP_KEY
- Datadog Application Key (see Datadog Application Key Documentation)
These variables are sourced at runtime (from the local machine or as CI variables/secrets).
Using different environment variables
To use different environment variables (instead of the defaults), use the --auth
flag of the stackql
program. For example:
AUTH='{ "datadog": { "type": "custom", "location": "header", "name": "DD-API-KEY", "credentialsenvvar": "YOUR_DD_API_KEY_VAR", "successor": { "type": "custom", "location": "header", "name": "DD-APPLICATION-KEY", "credentialsenvvar": "YOUR_DD_APP_KEY_VAR" }}}'
stackql shell --auth="${AUTH}"
or using PowerShell:
$Auth = "{ 'datadog': { 'type': 'custom', 'location': 'header', 'name': 'DD-API-KEY', 'credentialsenvvar': 'YOUR_DD_API_KEY_VAR', 'successor': { 'type': 'custom', 'location': 'header', 'name': 'DD-APPLICATION-KEY', 'credentialsenvvar': 'YOUR_DD_APP_KEY_VAR' }}}"
stackql.exe shell --auth=$Auth