With our Azure infrastructure integrations, you can report data to New Relic from dozens of Azure platform services. For all our solutions for Azure monitoring, see Introduction to Azure integrations.
Features
To monitor your Azure services, we query them on a regular polling interval. With our Azure integrations, you can:
- View performance data from dashboards that automatically scale as you make changes to your ecosystem.
- Set up alerts to get notifications when things go wrong.
- Query your data and create custom charts and dashboards to meet the specific observability challenges you have.
Sugerencia
You can use Terraform to automate the process of enabling cloud integrations: see the Terraform docs site.
Requirements and limitations
Requirements include:
- A New Relic account. Don't have one? Sign up for free! No credit card required.
- Specific Azure integrations have their own requirements.
We cannot get data from Azure resources that:
- Are located in Azure Government
- Were created through the classic deployment model
Cost considerations
When evaluating the cost of the Microsoft Azure integrations with New Relic, consider Azure's Monitor Pricing. Refer to the Metric queries
cost item in the Azure pricing documentation. Pricing details:
- Pricing is based on the number of API calls per month.
- An estimate of the API calls we make to Azure services can be found on your account status dashboard.
Overview of enabling Azure integrations
We'll describe the process of activating our Azure integrations in more detail below, but here's an overview of that process:
- You'll create a New Relic application and key in Azure.
- You'll grant this application access to the Azure services you want to monitor.
- You'll place the required information in the Integrations UI.
To use these integration activation instructions directly from our infrastructure UI, go to one.newrelic.com > All capabilities > Infrastructure > Azure > Add an Azure account.
Step 1: Get Azure subscription and tenant IDs
To get your Azure account's subscription id
and tenantId
, use your local terminal if you have Azure's tools installed, or use Azure's Cloud Shell terminal in the Azure portal.
Open a terminal with access to your Azure account.
Type the following:
bash$az account showCopy and save the subscription
id
andtenantID
from the output response for later use.
The response should look similar to the response below. The subscription id
and tenantID
are highlighted.
@Azure:~$ az account show{ "environmentName": "AzureCloud", "id": "9ffe9512-f4a2-42dd-1230-518aec34be21", "isDefault": true, "name": "Beyond Team Sandbox", "state": "Enabled", "tenantId": "ac6692da-1231-422f-22a8-9eed6dbe83f1", "user": { "name": "youremail@domain", "type": "user"}
Step 2: Register your app and get ID
You must have Azure permissions to register your application and copy its Application ID
.
To register your app in Azure:
- Sign in to the Azure portal and go to the Azure Active Directory.
- From Manage, select App registrations > New registration.
- Enter a name for the application. We recommend that you name your app
NewRelic-Integrations
. - In Redirect URI select
Web
and addhttps://www.newrelic.com
as the sign-on URI. - Create the application by clicking Register.
- From the Overview of your app, copy the Application (client) ID, and save it for later use.
Step 3: Create a client secret in Azure
To create a client secret associated with your application:
- In Azure, under the application you've just created, select Certificates & secrets.
- Under Client secrets, click on New client secret and then on Add. Choose the secret expiration date which can be up to 2 years. Once the secret expires, follow the steps to update the application details.
- Copy the value of Client Secret and save it for later use.
Step 4: Provide permissions to services
Your app must provide Reader
permissions for each Azure service you want New Relic to monitor:
- In the Azure Subscriptions section, select the subscriptions that you want New Relic to monitor.
- Select Access control (IAM) > Add > Add role assignment.
- From the Role dropdown, select Reader.
- From the Select dropdown, select the app's name; for example,
NewRelic-Integrations
. - From Selected members, verify your app name appears, then select Save.
Some Azure services, including Azure CosmosDB and Azure VMs, require additional steps. See the Azure integration documentation for the services you want to enable.
Step 5: Add app to New Relic
Now you can activate the Azure integration from our infrastructure UI. The UI will require the information you have saved in the previous steps, including:
- Your Azure account's subscription
id
andtenantId
- The application's application ID
- The application's client secret
To add your Azure app to New Relic:
- Go to one.newrelic.com > All capabilities > Infrastructure > Azure and select the Azure Service you wish to add.
- Follow the steps in the UI to activate the integration in New Relic.
- If you have already completed the Azure account steps, skip to the end of the steps to fill out the form. (For
Azure account name
, enter the name you want to use to identify the account in your Integrations dashboard.)
After you activate an Azure integration, we'll start monitoring your Azure data at regular polling intervals. To find and use your data, use metrics and events or go to one.newrelic.com > All capabilities > Infrastructure > Azure.
It may take few minutes until new resources are detected and synthesized as entities. See Cloud integrations system limits for more information.
Update application details and rotate client secrets
It will be required to update the application's authentication credentials using the infrastructure UI or the Cloud Integrations API once the client secret expires (maximum expiration date available in Azure is 2 years).
Follow these steps to rotate the Azure client secret in the infrastructure UI:
- Go to one.newrelic.com > All capabilities > Infrastructure > Azure and click on Manage Services on the Azure account you wish to edit.
- Select the edit action next to Account Name to see and edit any application value.
- Edit the Client Secret field with the new value and confirm with Save Changes.
Uninstall Azure integrations
To uninstall Azure integrations, follow these steps.
If you want to... | Do this |
---|---|
Disable one or more Azure service integrations | To disable services while keeping your Azure account linked to New Relic:
|
Disable all Azure integrations | To disconnect your Azure account completely from New Relic, you need to unlink your Azure account. This requires being either the user who registered the app or an administrator. This procedure will disable all New Relic integrations associated with that Azure account.
|