Here is an overview of how we label metrics.
There are a couple of scenarios where labels are being added:
- Built-in labels
- Scaler-specific labels
- Bring-your-own labels
In case of duplicate label names the above priority will be used.
Every metric that is being reported in the scraping endpoint comes with the following built-in labels:
resource_uri- Full resource URI of the instance. (ie
subscription_id- Id of the subscription.
resource_group- Name of the resource group.
instance_name- Name of the instance, if applicable.
Every scraper can provide additional labels to provide more information.
Currently we support this for:
- Azure Service Bus
- Azure SQL Database
- Azure Storage Queue
For more information, we recommend reading the scraper-specific documentation.
As of v1.0, you can define your own labels by configuring them for a specific metric.
For more information, see “Metrics”.