このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください
Join the Preview!

Multisource Querying is in Preview. If you're interested in this feature, complete the form to request access.

Request Access

Overview

After you start ingesting your AWS, Azure, Google Cloud, SaaS, or Datadog costs in Cloud Cost Management, you can flexibly query costs across providers. Multisource Querying enables you to query costs across multiple providers using consistent and standardized tags instead of building multiple queries for each provider.

Use Multisource Querying to build cost views, understand the total cost of service ownership, and alert on cost changes and trends across the Analytics page, dashboards, notebooks, and cost monitors.

Setup

To use Multisource Querying, ensure you meet the following requirements:

  1. You have configured Cloud Cost Management and are actively ingesting costs in Datadog.
  2. Your cost data is in a single currency. Multiple currencies are not supported.

Query your cost data

You can select multiple providers in the Provider field on the Analytics page.

The Provider field below the search query on the Cloud Cost Analytics page

Dropdown filters like Provider and Team maintain flexibility and streamline the process of creating a search query so you can refine your cost data. To add a filter, click + Filter.

A search query that uses the Team filter and groups reports by service on the Cloud Cost Analytics page

Click Refine Results to access the following options and filter your cost data.

Usage Charges Only
Examine costs impacted by engineering teams, excluding credits, fees, and taxes.
Complete Days Only
Exclude the past two days of cost data, which are incomplete.
Total Cost
Filter the data to view costs within a specific cost range.
Dollar Change
Only display cost changes within a specified dollar change range.
Percent Change
Only display cost changes within a specified percentage change range.
Additional options to refine your cost data on the Cloud Cost Analytics page

Visualize your cost data

With Multisource Querying, you can create visualizations using cost data across providers in your dashboards.

A dashboard in Datadog displaying Cloud Cost Management data from multiple providers such as Snowflake, Azure, Google Cloud, AWS, and more

Data Collected

Cost metric

Multisource Querying uses the all.cost metric, which combines all individual cloud and SaaS cost metrics into a unified view on the Analytics page.

Note: The all.cost metric does not include resource-level tags. To view costs by resource, use the specific cost metrics for each provider (such as aws.cost.amortized). When you filter to a specific provider in the search query, Datadog automatically switches to the corresponding provider-specific metric, enabling more granular querying of your cost data.

Out-of-the-box tags

Cloud Cost Management collects tags for the AWS, Azure, and Google Cloud integrations. This table provides a non-exhaustive list of out-of-the-box tags shared across each integration.

Tag NameTag Description
allocated_resourceThe type of resource used by a container workload (such as cpu or mem).
allocated_spend_typeContainer costs are split into three spend types: resources used by a workload (usage); resources reserved by a workload, but not used (workload_idle); and resources that are not reserved or used by any workload (cluster_idle).
ecs_cluster_nameThe name of the ECS cluster hosting a workload.
kube_cluster_nameThe name of the Kubernetes cluster hosting a workload.
orchestratorThe container orchestrator (such as kubernetes or ecs).

Tag enrichment

Cloud Cost Management enriches all provider cost data with tags that adhere to the FinOps FOCUS specification. FOCUS™ is a technical specification that normalizes cost and usage billing data across cloud vendors.

FOCUS tags allow you to query similar concepts across providers. For example, if you’d like to see cost per account across AWS and Azure, you are not required to create two queries (one for AWS costs grouped by aws_member_account_name and one for Azure costs grouped by subscriptionname). You can use one search query that filters to AWS and Azure costs grouped by subaccountname.

Cloud Cost Management adds lowercase versions of the specification Column IDs to all cost metrics.

The following FOCUS tags are available in Cloud Cost Management:

Tag NameTag Description
providernameThe name of the entity that made the resources or services available for purchase.
servicenameAn offering that can be purchased from a provider (for example, cloud virtual machine, SaaS database, professional services from a systems integrator).
billingaccountidThe identifier assigned to a billing account by the provider.
billingaccountnameThe display name assigned to a billing account.
subaccountidAn ID assigned to a grouping of resources or services, often used to manage access or cost.
subaccountnameA name assigned to a grouping of resources or services, often used to manage access or cost.
regionnameThe name of an isolated geographic area where a resource is provisioned or a service is provided.
availabilityzoneA provider-assigned identifier for a physically separated and isolated area within a region that provides high availability and fault tolerance.
pricingunitProvider-specified measurement unit for determining unit prices, indicating how the provider rates measured usage and purchase quantities after applying pricing rules like block pricing.

The all.cost metric has Container costs allocated for AWS, Azure, and Google Cloud costs, so you can query by the relevant container tags.

If your organization tags with any of these FOCUS tags, Datadog recommends updating your tag key on the underlying infrastructure so that tag values do not overlap with FOCUS tag values in Cloud Cost Management.

Further reading