• EnglishEspañol日本語한국어Português
  • Log inStart now

Azure Cost Management monitoring integration

New Relic's integrations include an integration for reporting your Microsoft Azure Cost Management data to New Relic. Here we explain how to activate the integration and what data it collects.


New Relic's Azure Cost Management integration collects your accumulated monthly expenditures for the Azure resources in your subscription, grouped by service, location, resource group, or tag.

Our 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.

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, go to one.newrelic.com > All capabilities > Infrastructure > Azure and look for the integration.

You can query and explore your data using 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.






Amount spent for the day of the event.

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.