New announcements for Serverless, Network, RUM, and more from Dash! New announcements from Dash!

Amazon Billing

Crawler Crawler

Overview

Amazon Billing allows you to track your AWS infrastructure billing forecasts and costs, including CloudWatch usage.

Enable this integration to see billing metrics in Datadog.

Setup

Installation

If you haven’t already, set up the Amazon Web Services integration first.

Metrics collection

  1. In the AWS integration tile, ensure that Billing is checked under metric collection.

  2. Add the following permission to your Datadog IAM policy to collect Amazon Billing metrics. For more information on AWS Budgets policies, review the documentation on the AWS website.

    AWS PermissionDescription
    budgets:ViewBudgetUsed to view AWS budgets metrics
  3. Enable Billing metrics within the AWS Console.

  4. Install the Datadog - AWS Billing integration.

  5. Create an AWS budget to start receiving metrics.

Note: AWS Budgets metrics can only be collected from the AWS master account.

Monitoring CloudWatch Usage

After setting up your AWS permissions to add the budgets:ViewBudget permission, you can monitor CloudWatch billing with this integration.

AWS billing metrics are available about once every 4 hours. You may have to wait 4 hours for Datadog to collect the metrics.

Once the metrics are available, look at aws.billing.estimated_charges and aws.billing.forecasted_charges. You can use these metrics to track your CloudWatch usage by filtering the context down to service:amazoncloudwatch. You can break down the spend to each AWS account using max:account_id.

The metric aws.billing.estimated_charges is what AWS believes to be the CloudWatch bill so far for the current month. This value is reset to 0 at the start of each month. The metric aws.billing.forecasted_charges is what CloudWatch estimates your bill will be at the end of the month based on current usage.

Data Collected

Metrics

aws.billing.estimated_charges
(gauge)
The estimated charges for your AWS usage. This can either be estimated charges for one service or a roll-up of estimated charges for all services.
Shown as dollar
aws.billing.actual_spend
(gauge)
The actual spending costs for your budget period
Shown as dollar
aws.billing.forecasted_spend
(gauge)
The forecasted spending costs for your budget period
Shown as dollar
aws.billing.budget_limit
(gauge)
The spending limit for your budget period
Shown as dollar

Each of the metrics retrieved from AWS is assigned the same tags that appear in the AWS console, including but not limited to host name, security-groups, and more.

Events

The AWS Billing integration does not include any events.

Service Checks

The AWS Billing integration does not include any service checks.

Troubleshooting

No metrics are reporting from my AWS billing integration

Here is a check list that you can apply to troubleshoot your integration:

  1. Ensure your IAM policy has budgets:ViewBudget.
  2. Ensure billing metrics are enabled in your payer account.

Note: AWS Billing metrics are collected every 4 or 8 hours by Datadog.

Missing metrics

If you are missing, aws.billing.actual_spend, aws.billing.forecasted_spend, or aws.billing.budget_limit, create an AWS budget to start receiving the metrics in Datadog.

Note: AWS Billing metrics are collected every 4 or 8 hours by Datadog.