Connecting to Datadog

Connect your Datadog account to CloudZero to bring your Datadog cost and usage data into a unified view of all your cloud and SaaS spend. CloudZero organizes your Datadog costs, along with your other costs, into categories (called Dimensions) that matter most to your business. For example: business unit, team, product, feature, environment, customer, or virtually anything else. Once connected and organized, you can quickly answer questions about your spend that matter to your stakeholders.

This guide covers authorizing CloudZero to access your Datadog account. CloudZero connects through OAuth, so there are no API keys to manage. All access is read-only.

⚠️

CloudZero supports commercial Datadog sites only. Datadog's FedRAMP environment (ddog-gov.com) is not supported.

What you need

ScopeAccess
Usage ReadView usage and cost data
Billing ReadView billing data
Metrics ReadView custom metrics
Timeseries QueryQuery timeseries data for custom metrics
ℹ️

If you have multiple Datadog parent organizations, sign out of all Datadog tenants before you begin.

Step 1: Configure the connection in CloudZero

  1. In CloudZero, go to Settings > Cloud Connections.

  2. Select Create Connection + and select the Datadog tile.

    Add New Connection screen showing available provider tiles including Datadog
  3. Enter a Connection Name and select your Datadog site.

  4. Select Continue. CloudZero redirects you to Datadog.

Step 2: Authorize CloudZero in Datadog

  1. Select the correct site from the dropdown and log in.

    Datadog site selection dropdown
  2. Select your parent-level organization and select Authorize.

    Datadog authorization screen showing CloudZero permission scopes
ℹ️

You must authorize from a parent-level organization. Usage data is only available at the parent level. The authorizing user must have Usage Read and Billing Read permissions in Datadog.

CloudZero returns you to the Connection Details page. Verify that your Datadog connection appears.

What to expect

After authorization, the connection status shows Pending Data. CloudZero validates the connection and begins pulling your Datadog cost data:

  • New connection: CloudZero pulls up to 12 months of historical billing data if available.
  • Re-enabled connection: CloudZero pulls up to 12 months of billing data, starting from the current period back to the last previously ingested period.
  • Steady state: CloudZero pulls the current billing period daily, and the previous billing period through the 17th of the month.

The status changes from Pending Data to Healthy within an hour. Cost data appears in the Explorer within 24 hours.

Connection details

Cost by tags

If your Datadog organization is on the Enterprise plan with usage attribution enabled, CloudZero automatically brings in your attribution tags. No additional configuration is required.

Billing models

Datadog uses different pricing models depending on the product:

ModelHow costs appear in CloudZero
CommitmentFixed monthly costs, amortized evenly over the month
On-demandVariable costs based on product usage
Average pricingCosts based on average monthly usage, amortized to date
High-water markCosts based on the peak hourly usage in the month. When a new peak is set, costs increase for the remainder of that month. Amortized to date.

Cost calculation

For the current and previous month, CloudZero uses Datadog's Estimated Cost endpoint, which provides daily estimated costs per product. For older months, CloudZero uses the Historical Cost endpoint, which provides a single monthly total per product amortized evenly over the month.

ℹ️

For billing periods before March 2024, some products may show negative cost values due to changes in Datadog's cost reporting.

Maintenance and configuration

Reauthorize a connection

If CloudZero loses access to your Datadog account:

  1. In CloudZero, go to Settings > Cloud Connections.

  2. Select the Datadog connection from the list.

  3. Select Reauthorize on the Connection Details page.

    Datadog connection detail page showing the Reauthorize option
  4. Select the correct Datadog site, log in, and authorize CloudZero again.

ℹ️

Have questions or feedback? Reach out to your account manager.