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.

FieldTypeRequiredDefaultConstraintsExample
query
e.g. avg:system.cpu.user{*}.
stringYes———
minutes
Lookback window (default 60).
numberNo—≥ 0—

Output

One shape.

result

FieldTypeExample
series
array—
status
string—
{
  "series": [],
  "status": ""
}

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.