Datadog cost and usage integration

Use the Datadog Advanced Integration to collect supported Datadog cost and billable usage data for analysis and reporting in Yarken. Yarken retrieves data through read-only Datadog APIs, transforms it into FinOps FOCUS 1.2-aligned records, and loads the records into Cloud Consumption (cloudConsumption).

Destination: Datadog data loads into Cloud Consumption, not AI Usage Data. This also applies to Datadog products identified as AI-related.


What the integration provides

  • Monthly Datadog product costs, such as APM, Log Management, Infrastructure, and Real User Monitoring.

  • Billable usage quantities for supported meters, including hosts, GB ingested, or log events.

  • Unit prices derived from charges and supported usage quantities.

  • Separate records for on-demand, committed, and included usage.

  • FOCUS 1.2-aligned cost and usage records for cloud-consumption reporting.

  • Monthly billed-cost reconciliation, subject to estimated-cost and finalized-cost backfill limitations.


Before you begin

Requirement

Details

Datadog organization

Access to the parent (primary) Datadog organization for billing data.

Datadog site

Know the regional site associated with your organization, such as US1, US3, US5, EU1, AP1, AP2, UK1, US1-FED, or US2-FED.

API key

Create a valid API key in the parent organization.

Application key

Create a scoped Application key with usage_read and billing_read permissions.

Yarken access

Use a Yarken administrator account to authorize the Advanced Connection.

Integration enablement

Confirm that Yarken has deployed the Datadog Advanced Integration for your environment.

Datadog billing costs require access to the parent organization. Child-organization credentials may support usage-only access but cannot retrieve the parent's billing costs.


Create Datadog API credentials

Datadog billing access uses an API key and an Application key. This integration does not use an OAuth sign-in flow.

Identify your Datadog site

  1. Sign in to your Datadog organization.

  2. Identify the regional site you use to access Datadog.

  3. Record the site for your Yarken connection. For example, app.datadoghq.com corresponds to US1 — datadoghq.com.

Create an API key

  1. In Datadog, go to Organization Settings > API Keys.

  2. Create an API key for the parent organization.

  3. Copy the key and store it securely.

Create an Application key

  1. In Datadog, go to Organization Settings > Application Keys.

  2. Create a scoped Application key.

  3. Assign the usage_read and billing_read permissions.

  4. Copy the key and store it securely.

Permission

Purpose

usage_read

Read supported billable usage.

billing_read

Read supported billing and cost information.

Use only the permissions required by this integration. Yarken makes read-only API requests and does not need write access to your Datadog account.


Authorize the Datadog connection in Yarken

  1. Sign in to Yarken as an administrator.

  2. Go to Admin > Pipelines > Connections.

  3. Select the ADVANCED tab.

  4. Open the Datadog connection deployed for your environment.

  5. Complete the connection fields and select Connect.

    Screenshot 2026-10-28 at 11.06.26 AM (1)-20261102-074623.png
    Datadog Advanced Connection
  6. Confirm that the status changes to Connected.

Connection field

Required

Description

Datadog site

Yes

Select the regional Datadog site for your organization.

API key

Yes

Enter the Datadog API key.

Application key

Yes

Enter the scoped Datadog Application key.

Org name

No

Optional organization label; if empty, the integration uses the name returned by Datadog.

Child org (usage only)

Context-dependent

Used for a child-organization usage-only connection. Parent-organization access is required to retrieve billed costs.

Connected confirms that the connection has been authorized. Validate a successful Advanced pipeline run separately; connection status alone does not confirm data ingestion.

For common authorization steps, see Authorize Advanced Connections.


How the integration works

  1. Yarken retrieves Datadog cost and billable usage data through read-only APIs.

  2. The integration matches product charges to supported usage meters.

  3. Yarken derives the required FOCUS-aligned cost, pricing, and classification fields.

  4. The transformed records are loaded into cloudConsumption.

  5. Each scheduled collection refreshes the applicable month's records rather than appending duplicates.

  6. You can review supported results using cloud-consumption reporting.

Data flow: Datadog billing and usage APIs → Yarken Advanced Integration → FOCUS 1.2 transformation → Cloud Consumption → Analytics.

How Datadog data is transformed into FOCUS

Datadog APIs do not return FinOps FOCUS-standard records. Yarken transforms source cost and billable usage information into FOCUS 1.2-aligned records before loading it into Cloud Consumption.

  • Maps source fields: Datadog accounts, organizations, products, charges, and billing periods map to supported FOCUS columns.

  • Matches cost and usage: Billing dimension mapping associates product charges with the corresponding billable usage meters.

  • Derives FOCUS values: Yarken calculates supported prices and costs using available source charges and quantities. For example, unit price can be derived from cost divided by pricing quantity.

  • Classifies charges: On-demand, committed, and included usage is represented in separate records.

  • Preserves Datadog details: Yarken extension fields beginning with x_ preserve information without a direct FOCUS equivalent.

Extension field

Description

x_UsageClass

On-demand, committed, included, or other supported usage classification.

x_SourceCostStatus

Whether the source cost is estimated or final.

x_SourceUsageKey

The Datadog usage meter associated with the charge.

x_PriceSource

How Yarken obtained or derived the unit price.

x_AIRelevant

Identifies supported AI and LLM-related Datadog products.

x_DatadogSite

Records the source Datadog site.

Datadog's billing API does not provide published list prices. Yarken derives supported unit prices from available charges and quantities. ListCost generally equals ContractedCost, except where the equivalent on-demand value of included usage can be calculated. Unsupported FOCUS fields remain empty.

Datadog APIs used by the integration

Read-only endpoint

Purpose

GET /api/v2/validate_keys

Validate credentials when the connection is saved.

GET /api/v1/validate

Fallback key validation endpoint.

GET /api/v2/usage/historical_cost

Retrieve finalized monthly costs for requested months.

GET /api/v2/usage/estimated_cost

Retrieve estimated costs for the current month and unfinalized recent months.

GET /api/v1/usage/billable-summary

Retrieve on-demand, committed, and total usage quantities.

GET /api/v2/usage/billing_dimension_mapping

Map billed products to usage meters and display names.

Yarken does not ingest Datadog month-end projected_cost forecasts. See the Datadog Usage Metering API reference for the source endpoints.


Sync schedule and data freshness

Behavior

Current behavior

Scheduled sync

The integration runs once daily.

Current month

Each sync refreshes the month-to-date records.

Previous month

The previous month is refreshed again on the first day of the following month.

Usage availability

Datadog usage data can lag by up to 72 hours.

Final cost availability

Datadog typically finalizes monthly costs around the 16th of the following month.

Replacement behavior

When a month is processed again, its records replace the previous rows rather than adding duplicate charges.

Finalized-cost backfill

The integration does not currently revisit previously processed months automatically after Datadog finalizes those costs.

Estimated and finalized costs

The x_SourceCostStatus field indicates whether Datadog reported a cost as estimated or final. Datadog typically finalizes a billing month's cost around the 16th of the following month.

Current limitation: The previous-month refresh occurs on the first day of the next month, but Yarken does not automatically schedule another refresh after Datadog finalizes that month. Previously ingested estimated costs may therefore remain unchanged and differ from the finalized Datadog invoice.

For example, Yarken may refresh September's data on October 1, while Datadog may not finalize September until around October 16. The integration does not automatically revisit September after October 16. If the stored amounts remain estimated, contact Yarken support to review available reconciliation options.


How Datadog charges and usage are processed

  1. On-demand and committed product charges are represented separately. Datadog's repeated total line is excluded to prevent double-counting.

  2. Yarken matches each billed product to its supported usage meter using billing dimension mapping.

  3. Quantities are expressed in supported Datadog pricing units, such as 1M Log Events or 1000 Sessions.

  4. Account-level usage is counted once in multi-organization scenarios.

Usage classifications

x_UsageClass

Meaning

Billed cost

on-demand

Usage billed at on-demand rates.

Yes

on-demand-no-quantity

A billed charge without a usage quantity, such as a flat-fee product.

Yes

committed

Usage covered by a contracted commitment.

Yes

included-allotment

Usage included without an additional billed charge; ListCost may show the equivalent on-demand value.

No

Optional commitment details

Where supported by the Datadog order form and enabled by Yarken support, commitment detail can be split into commitment-purchase (billed commitment), committed-used (consumed portion), and committed-unused (unused portion). The used and unused allocation is calculated proportionally from quantities because Datadog does not provide unused commitment directly.


Data loaded into Cloud Consumption

The transformed data is stored in cloudConsumption at the grain billing month × Datadog account × product (billing dimension) × usage class. Datadog source cost amounts are in USD. Raw API responses are used during ingestion and discarded; they are not available as user-facing raw records.

FOCUS field reference

Billing periods and accounts

FOCUS fields

Description

BillingPeriodStart, BillingPeriodEnd

Beginning of month and exclusive start of next month (UTC).

ChargePeriodStart, ChargePeriodEnd

Same as the billing period.

BillingAccountId, BillingAccountName, BillingAccountType

Datadog account details; type is Datadog Account.

SubAccountId, SubAccountName, SubAccountType

Datadog organization details; type is Datadog Organization.

ProviderName, PublisherName

Datadog.

InvoiceIssuerName

Datadog or configured marketplace.

BillingCurrency

USD.

Cost and pricing

FOCUS fields

Description

BilledCost

Billed amount for the row.

EffectiveCost

Cost after supported commitment allocation.

ContractedCost, ListCost

Contracted and derived list-cost values.

ContractedUnitPrice, ListUnitPrice

Unit prices derived from available source information.

ChargeCategory, ChargeFrequency

Usage/Purchase and Usage-Based/Recurring classifications.

ChargeDescription, PricingCategory

Charge description and pricing category (Standard, Committed, or Other).

Usage, product, and region

FOCUS fields

Description

ConsumedQuantity, ConsumedUnit

Quantity and unit of consumed usage.

PricingQuantity, PricingUnit

Quantity expressed in price-list units.

ServiceCategory, ServiceName, ServiceSubcategory

Service classification and Datadog product.

SkuId, SkuMeter, SkuPriceId, SkuPriceDetails

Datadog billing dimension, meter, pricing type, and JSON pricing details.

RegionId, RegionName

Datadog organization region and site.

Yarken extensions and fields without source values

Field

Description

x_UsageClass

Usage class.

x_SourceCostStatus

estimated or final.

x_SourceUsageKey

Datadog usage meter.

x_PriceSource

Price derivation such as billed-cost derived, on-demand-derived, or no-price-gap.

x_AIRelevant

AI-related product indicator.

x_DatadogSite

Datadog site.

Tags

Empty JSON object {}; source billing API does not provide tags.

CommitmentDiscount*

Populated only when optional commitment detail is enabled.

AvailabilityZone, CapacityReservation*, ChargeClass, InvoiceId, Resource*

Remain empty because required data is unavailable from the source.

Example consumption record

Field

Example

BillingPeriodStart

2026-08-01T00:00:00Z

BillingPeriodEnd

2026-09-01T00:00:00Z

ServiceName

Log Management

SkuMeter

Ingested Logs

x_UsageClass

on-demand

ConsumedQuantity

134,347

ConsumedUnit

GB

ContractedUnitPrice

0.10

BilledCost, EffectiveCost

13,434.70

BillingCurrency

USD

x_SourceCostStatus

final


Run and monitor the Datadog pipeline

  1. Go to Admin > Pipelines > Pipelines.

  2. Select the ADVANCED tab.

  3. Locate the Datadog pipeline deployed for your environment.

  4. Select Run if you need to run it immediately.

  5. Review the run status and run history to confirm that it completed successfully.

For pipeline controls and statuses, see Manage Advanced pipelines.


Review and reconcile Datadog data

  1. Go to Designer > Consumption > Cloud and locate the expected billing year and month.

  2. Confirm the month contains the expected Cloud Consumption data.

  3. Go to Analytics > Consumption Data and select supported provider and billing period fields.

  4. Identify records where ProviderName is Datadog.

  5. Compare source cost and usage details with Datadog for the corresponding month.

  6. Check x_SourceCostStatus where available before comparing totals with a finalized invoice.

Not every backend FOCUS or x_ extension field is necessarily exposed in Analytics. For reporting guidance, see Consumption Data.

Reconcile costs with your Datadog invoice

When the ingestion contains finalized data, the sum of BilledCost for the billing month can be compared with Datadog's corresponding billed total. The integration excludes repeated total charge lines and replaces month-specific rows when the month is processed again.

If the ingested records are still marked estimated, totals can differ from the finalized invoice. Automatic backfill of finalized costs for previously processed months is not yet supported. If billing is through a marketplace, coordinate with Yarken support to avoid double-counting charges already present in marketplace cloud billing.


Troubleshooting

Issue

What to check

Recommended action

401 Authentication failed

Invalid API key or Application key.

Verify and replace both keys.

403 Forbidden

Incorrect Datadog site or insufficient access.

Confirm site and required permissions.

429 Rate limited

Temporary Datadog API limits.

Wait briefly and retry.

Connected, but no billing cost

Child-organization credentials or missing billing_read.

Use parent-organization credentials with required access.

Recent usage missing

Datadog may lag by up to 72 hours.

Review source availability and the next integration run.

Previously loaded costs remain estimated

No automatic finalized-cost backfill.

Check x_SourceCostStatus, reconcile with Datadog, and contact Yarken support.

Cost without usage quantity

Source did not provide a quantity for this charge.

Check whether x_UsageClass is on-demand-no-quantity.

List price differs from expectation

Derived pricing, not Datadog published list price.

Compare billed charges and quantities.

Marketplace billing appears duplicated

Charge may also appear in cloud marketplace data.

Contact Yarken support about invoice issuer and reconciliation.

For general issues, see Troubleshoot Advanced Integrations.


Current limitations

  • Monthly cost grain: Datadog costs are represented by calendar month, not as daily cost records.

  • Parent organization: Billing costs require parent-organization access.

  • Source reporting lag: Usage can be delayed by up to 72 hours.

  • No automatic finalized-cost backfill: Previously processed months are not automatically revisited after Datadog finalizes monthly costs. Earlier estimates may not match the final invoice.

  • Tags and resource detail: Billing information does not include per-team, per-environment, or individual resource-level cost detail.

  • History: Up to 15 months of supported source history.

  • No projected costs: Month-end projected_cost forecasts are not ingested.

  • New products: Unknown Datadog products can still be ingested with inferred service names or units.

  • Raw responses: Raw Datadog API responses are not retained or displayed in Yarken.


Frequently asked questions

Does Yarken change anything in Datadog?

No. The integration uses read-only billing and usage APIs.

Why do last month's costs differ from Datadog's finalized invoice?

The earlier ingestion may contain estimated costs. Datadog typically finalizes costs around the 16th of the following month, but Yarken does not yet automatically revisit previously processed months.

Will estimated costs automatically be updated after Datadog finalizes them?

No. Automatic finalized-cost backfilling is not currently supported. Contact Yarken support to review reconciliation options.

Are AI-related Datadog costs loaded into AI Usage Data?

No. They remain in Cloud Consumption, even when x_AIRelevant is true.

How do I disconnect?

Revoke the Application key in Datadog under Organization Settings > Application Keys or remove the Yarken connection.

We buy Datadog through AWS Marketplace. Will it be duplicated?

Contact Yarken support to coordinate InvoiceIssuerName and avoid double-counting with marketplace billing.