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. 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.
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:
- In the Azure Portal Subscriptions section, select the subscriptions that you want New Relic to monitor.
- Select Access control (IAM) > Add.
- From the Role dropdown, select Billing Reader.
- From the Select dropdown, select the app's name; for example,
- 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.
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.
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.|