Skip to main content
Connect Datadog from Add integration for billing, standard metrics, and CI visibility. Pick at least one use-case card, then validate the keys. This page covers Standard metrics. For Datadog spend in Explorer, see Datadog Billing. For pipeline metrics, see Datadog CI Visibility.
Connect Datadog page with Billing, Standard metrics, and connection fields

Connect Datadog: use-case cards on the left, Connection details on the right

1

Open the Datadog tile

Go to Integrations, click + Add integration, then under External metric choose Datadog. The tile reads Standard metrics / CI Visibility. The connect URL is /integration/new/datadog/connect.
2

Pick at least one use case

On What should Costory use Datadog for?, pick at least one card:
  • Billing / spend in Costory: see Datadog billing data in Costory. Setup details live on Datadog Billing.
  • Standard metrics: use Datadog metrics in Costory to calculate marginal costs and correlate usage with spend.
  • CI / pipeline visibility: pull CI Visibility aggregations. See Datadog CI Visibility.
3

Enter connection details

Fill Connection name, Datadog site / region (for example datadoghq.com or datadoghq.eu), API Key, and Application Key. Click Validate, then Save connection.
Connect Datadog with Standard metrics and CI visibility selected, keys filled, and Ready to save

Connect Datadog after Validate succeeds: Save connection is enabled

4

Query a metric with a rollup

In Advanced Explorer, click + Add Metric, open integrations, and pick Datadog. Search a metric name, then pick it from the list. Provide a query with a rollup, for example:avg:system.cpu.user{*} by {host}.rollup(avg, daily, 'UTC')Use Edit DataDog query on the series row if you need to change the query string. See Query after you connect.
Advanced Explorer Datadog metric picker listing render.service metrics with group-by tags

Datadog metric picker searching render.service.http.requests.total

Advanced Explorer bar chart of Cost grouped by service next to a Datadog HTTP requests metric

Cost series next to a Datadog render.service.http.requests.total metric

One Datadog connection can cover billing and metrics. Billing creates cost rows. Standard metrics and CI Visibility are external metrics, queried in Advanced Explorer. Classic greys out non-cost metrics. Costory validates each selected scope when you click Validate. A key can have metrics_read and timeseries_query while billing data remains unavailable.

API reference

Costory queries Datadog metrics through the Metrics API: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. Enable the matching capabilities under Organization Settings > Application Keys. Costory validates each selected scope when you click Validate.See Query timeseries points for request body fields and response format.

Datadog Billing

Pull Datadog usage and billing estimates as cost rows.

Datadog CI Visibility

Connect the same page and pick the CI Visibility card.

Metrics Correlation

Query external metrics in Advanced Explorer.

Unit Economics

Divide cloud cost by a Datadog metric.
Last modified on August 20, 2026