Azure Monitor Metrics

Hosted Graphite provides an Azure add-on available in the Add-Ons page of your account. This add-on syncs the metrics from the specified Azure resources into your account.


To connect to your Azure account, you need to provide the following information:

Search for 'Active Directory' in the search bar which should take you to the tenant overview. Here you will be able to find the tenant id.

Within the subscription service interface, access the IDs by navigating to the "Overview" tab. Ensure you provide all the necessary IDs for the subscriptions from which you intend to retrieve metrics.

To get the Client ID along with the Client Secret, an application will need to be registered, this will act as authentication allowing Hosted Graphite to pull metrics.

Once the App has been created, the Client ID can be obtained from the overview tab.

A Client Secret will need to be generated for the app. Navigate to the 'Certificate & Secrets' tab on the right. The Client Secret will be the under the 'value' column.

The last step is to add permissions to the subscription, this will pass down the permission to all groups and resources within the subscription.

Back in the subscription overview navigate to 'Access Control (IAM)'. The role required to pull the metrics is 'Reader'.

In the members section make sure to include the App that was created in the previous step. Review and sign the role assignment.

To enable the Azure add-on, go to the add-ons page in your Hosted Graphite account and choose the option for Azure.

You will be presented with the following page; here you will be able to add, edit, and delete any Azure configurations. This page also provides options to add account names and tags.

The main Azure configuration page looks like the following:

Before saving make sure to include the resource to monitor by selecting the enable checkbox. Tagging is also a feature that can be enabled. If 'Tags' checkbox is enabled then tagging will only be applied to that specific resource. If you don't want tagging to be enabled for a resource then leave it unselected.

More information on the available metrics can be viewed here. If you require a specific resource that is not listed, please don't hesitate to email us and we'll work swiftly to add it.

If you click Azure Tags you will be presented with the following screen which allows you to edit tags. Each tag has a unique name (shown on the left) and one or more values. Values are separated by a comma.

Example: Entering “Tag_Next”: “hello, world” will configure the Add-On to only pull metrics from resources that have the tag “Tag_Next” and at least one of the matching values of "hello" or "world" for that tag.

If tagging is not selected for any services, but tags are configured for the Add-On, it will act as if tagging is enabled for all services.

Enabling Account Naming

If you use multiple Azure Client IDs on your Hosted Graphite account for different Azure accounts, projects or environments, you can keep the metrics separated by assigning Account Names to your Client IDs.

Under the list of Client IDs on your HG account, there’s a button to access the Account Names interface. There you can assign names to your Client IDs, which will then become part of the metric name for all metrics retrieved using that ID.

The Azure metrics for each service are mapped to Hosted Graphite metric names as follows:


If AccountName is enabled then the tenant_id will be replaced by the account name provided.

This can be found and generated from within the Dashboard Library, and offers a great starting point for monitoring your Azure services!

This overview dashboard assumes that you have enabled Account Names, which can be configured in Add-Ons => Azure.

Go to the add-ons page in your Hosted Graphite account, and choose the option for Azure.

Click the Delete button and the Azure add-on will be disabled for that account.

While we attempt to minimize the number of API calls that may incur Azure charges, Hosted Graphite disclaims responsibility for potential costs incurred by the use of this add-on. For more information please review Azure's API cost and rate-limiting information

Our add-on performs read-only requests to the Azure Monitor API. Should the provided Azure Credentials grant greater privileges than what is specified in Role, responsibility for any activity performed using those keys lies with the customer.

Last updated