datadog
How to get these credentialsConnection to one Datadog organization: an API key, an application key with read scopes, and the site the organization lives on (datadoghq.com by default).
CREATE SECRET datadog (
TYPE datadog,
api_key '<DATADOG_API_KEY>', -- required, secret
app_key '<APP_KEY>', -- required, secret
site '<site>',
base_url '<base_url>',
timeout '<timeout>',
page_size '<page_size>'
);
| Key | Type | Required | Description |
|---|---|---|---|
| api_key secret | VARCHAR | Yes | Datadog API key (Organization settings, API keys). |
| app_key secret | VARCHAR | Yes | Datadog application key (Organization settings, Application keys). Scope it to read-only permissions such as metrics_read, logs_read_data, apm_read, monitors_read, incident_read. |
| site | VARCHAR | No | Datadog site: 'datadoghq.com' (US1, default), 'us3.datadoghq.com', 'us5.datadoghq.com', 'datadoghq.eu', 'ap1.datadoghq.com', 'ap2.datadoghq.com' or 'ddog-gov.com' (aliases us1, us3, us5, eu, ap1, ap2, gov). |
| base_url | VARCHAR | No | Override the API origin, e.g. a proxy or a local fixture server 'http://127.0.0.1:8126'. Default: https://api.<site>. |
| timeout | DOUBLE | No | Per-request timeout in seconds (default 60). |
| page_size | BIGINT | No | Rows requested per page from search endpoints (logs, spans, events, audit), 1 to 1000 (default 1000). List endpoints cap it at their own maximum. |
Needed by slo_historydashboardsynthetics_resultsusage_summarymetrics_querymetric_metadatametric_tagslogslogs_aggregatespansspans_aggregateevents and 1 more functions