This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project,
feel free to reach out to us!Join the Beta!
Multisource Querying is in private beta. To request access, complete the form.
Request AccessOverview
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:
- You have configured Cloud Cost Management and are actively ingesting costs in Datadog.
- 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.
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.
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.
Visualize your cost data
With Multisource Querying, you can create visualizations using cost data across providers in your dashboards.
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.
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 Name | Tag Description |
---|
allocated_resource | The type of resource used by a container workload (such as cpu or mem ). |
allocated_spend_type | Container 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_name | The name of the ECS cluster hosting a workload. |
kube_cluster_name | The name of the Kubernetes cluster hosting a workload. |
orchestrator | The 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 Name | Tag Description |
---|
providername | The name of the entity that made the resources or services available for purchase. |
servicename | An offering that can be purchased from a provider (for example, cloud virtual machine, SaaS database, professional services from a systems integrator). |
billingaccountid | The identifier assigned to a billing account by the provider. |
billingaccountname | The display name assigned to a billing account. |
subaccountid | An ID assigned to a grouping of resources or services, often used to manage access or cost. |
subaccountname | A name assigned to a grouping of resources or services, often used to manage access or cost. |
regionname | The name of an isolated geographic area where a resource is provisioned or a service is provided. |
availabilityzone | A provider-assigned identifier for a physically separated and isolated area within a region that provides high availability and fault tolerance. |
pricingunit | Provider-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
Más enlaces, artículos y documentación útiles: