Here is an overview of how we label metrics.

There are a couple of scenarios where labels are being added:

In case of duplicate label names the above priority will be used.

Built-in labels

Every metric that is being reported in the scraping endpoint comes with the following built-in labels:

Metric dimension labels

Metrics support specifying a dimension which will be scraped in Azure Monitor.

Every metric value will be reported under the configured metric name, but a label for the dimension and it’s respective value will be added.

Scraper-specific labels

Every scraper can provide additional labels to provide more information.

Currently we support this for:

For more information, we recommend reading the scraper-specific documentation.

Custom Labels

As of v1.0, you can define your own labels by configuring them for a specific metric.

For more information, see “Metrics”.