Azure Cost Management monitoring integration

BETA

Access to this feature depends on your subscription level. Requires Infrastructure Pro.

New Relic Infrastructure's integrations include an integration for reporting your Microsoft Azure Cost Management data to New Relic products. This document explains how to activate the integration and describes the data reported.

Features

New Relic's Azure Cost Management integration collects your daily cloud expenditures for the Azure resources in your subscription, grouped by service, location, resource group, or tag. The integration allows you to track how costs evolve for each billing period and detect unexpected trends, or alert on accumulated costs for the current billing period.

Activate integration

Follow standard procedures to activate your Azure service in New Relic Infrastructure.

In some cases, the Azure Cost Management integration requires you to add an additional role to fetch billing data:

  1. In the Azure Portal Subscriptions section, select the subscriptions that you want New Relic to monitor.
  2. Select Access control (IAM) > Add.
  3. From the Role dropdown, select Billing Reader.
  4. From the Select dropdown, select the app's name; for example, NewRelic-Integrations.
  5. From Selected members, verify your app name appears, then select Save.

Configuration and polling

You can change the polling frequency and filter data using configuration options.

Default polling information for the Azure Cost Management integration:

  • Default polling frequency: 1 hour
  • Maximum recommended polling frequency: 1 hour
  • Resolution: 1 day

Find and use data

To find your integration data in Infrastructure, go to infrastructure.newrelic.com > Azure and look for the integration.

In New Relic Insights, Azure Cost Management data is attached to the AzureCostManagementSample event type. The provider metadata value indicates how the daily cost is grouped:

  • AzureCostLocation: Costs are grouped by location.
  • AzureCostService: Costs are grouped by cloud service.
  • AzureCostResourceGroup: Costs are grouped by resource group.
  • AzureCostTag: Costs are grouped by a resource tag, indicated in the label.<tag_key> metadata of the same event. Untagged resources will not be collected. In order to collect costs grouped by tag, specify the tag key in the integration settings.

Costs are estimates, as Microsoft can make updates to the cost data up until the invoice for the billing period is generated. To get the most accurate value of the accumulated cost in the billing period, use the max() function in your NRQL queries.

Event data

Here are the metrics and metadata reported by the Azure Cost Management integration. For more information about how data is structured and reported to New Relic, see Understand and use integration data.

Metric Description
currency USD
cost Amount spent for the day of the event.

For more help

Recommendations for learning more: