Skip to main content

Query Timeseries

Queries timeseries in Datadog.

This node is also exposed as an AI Agent tool.

This node has 1 input port and 1 output port.

Common Properties​

Every node shares these.

  • Name — the node's display name on the canvas.
  • Color — the node's colour on the canvas.
  • Delay Before (sec) — wait this long before the node runs.
  • Delay After (sec) — wait this long after the node runs.
  • Continue On Error — carry on instead of failing the flow. Defaults to false.
info

When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.

Inputs​

PropertyFieldDescription
Client IDinClientIDClient ID from Connect node (optional if credentials provided)
From (Unix Timestamp)inFromStart time as Unix timestamp in seconds
QueryinQueryDatadog metrics query (e.g. avg:system.cpu.user{*})
To (Unix Timestamp)inToEnd time as Unix timestamp in seconds

Outputs​

PropertyFieldDescription
SeriesoutSeriesTimeseries data with metric name، tags، and data points
StatusoutStatusQuery status

Options​

PropertyFieldDescription
CredentialsoptCredentialsDatadog API keys
SiteoptSiteDatadog site (defaults to datadoghq.com)
Timeout (seconds)optTimeoutMaximum time in seconds to wait

Requirements​

  • A Client ID from this package's Connect node, unless you set credentials directly on this node.
  • Datadog API Keys — API Key and Application Key for Datadog authentication
    • value — API Key (password, required). Your Datadog API key
    • application_key — Application Key (password, optional). Required for query and management operations (monitors, logs, downtimes)

Store these in a Vault and reference the vault item from the node, rather than typing the secret into the property.

Submit Metrics

Elsewhere in the package: Connect · Disconnect · Create Event · Create Monitor · Get Monitor · List Monitors · Mute Monitor · Query Logs · Send Logs · Create Downtime and 3 more

See also​