Azure Storage Queue
You can declare to scrape an Azure Queue via the
StorageQueue resource type.
The following fields need to be provided:
accountName- The name of the storage account
queueName- The name of the queue
sasToken- The SAS token used to access the queue/account
sasToken.environmentVariable- Defines the environment variable which contains the SAS token to authenticate with
sasToken.rawValue- Contains the raw hardcoded SAS token (less secure)
TimeSpentInQueue- Time in seconds that the oldest message has been waiting in the queue to be processed.
The following scraper-specific metric label will be added:
queue_name- Name of the queue
name: azure_storage_queue_message_count description: "The number of messages on an Azure storage queue" resourceType: StorageQueue azureMetricConfiguration: metricName: MessageCount aggregation: type: Total resources: - accountName: promitor queueName: orders sasToken: environmentVariable: "SECRETS_STORAGEQUEUE_PROMITOR_SASTOKEN" - accountName: promitor queueName: items sasToken: environmentVariable: "SECRETS_STORAGEQUEUE_PROMITOR_SASTOKEN"
← back to metrics declarations
← back to introduction