Query Metrics
datadog.query_metrics
ActionBusiness appsconnection required
Calls the Datadog API with the connection's credentials.
Run a metrics query over the last N minutes.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- Datadog
- Secret shape
- a JSON object with api_key (+ app_key for reads)
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
query e.g. avg:system.cpu.user{*}. | string | Yes | — | — | — |
minutes Lookback window (default 60). | number | No | — | ≥ 0 | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
series | array | — |
status | string | — |
{
"series": [],
"status": ""
}Related Datadog nodes
See Query Metrics run in a workflow.
In a technical demo we add the Datadog connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.