Skip to main content
  1. Create a Datadog integration in Integrations (API key, application key, region).
  2. In Costory, go to Metrics > Import new metrics datasource > Datadog.
  3. Select the Datadog configuration.
  4. Provide a metric query with a rollup (example):
    • avg:system.cpu.user{*} by {host}.rollup(avg, daily, 'UTC')
  5. Validate and finalize the metrics definition.
This connector imports Datadog metrics only. To import Datadog spend, set up Datadog Billing. A key can have timeseries_query access while billing data remains unavailable.

API reference

Costory queries Datadog metrics through the Metrics API:
Use caseEndpointRequired scope
Timeseries metric queries (with rollups)POST /api/v2/query/timeseriestimeseries_query
The base URL depends on your Datadog site (for example https://api.datadoghq.com for US1). Costory sends your API key and application key on every request.See Query timeseries points for request body fields and response format.
Last modified on June 16, 2026