diff --git a/docs/configuration/metrics/index.md b/docs/configuration/metrics/index.md index 4deba1180..4cc81ee7b 100644 --- a/docs/configuration/metrics/index.md +++ b/docs/configuration/metrics/index.md @@ -84,11 +84,11 @@ We also provide a simplified way to scrape the following Azure resources: - [Azure Container Instances](container-instances) - [Azure Container Registry](container-registry) -- [Azure Service Bus Queue](service-bus-queue) +- [Azure Cosmos DB](cosmos-db) - [Azure Network Interface](network-interface) -- [Azure Virtual Machine](virtual-machine) +- [Azure Service Bus Queue](service-bus-queue) - [Azure Storage Queue](storage-queue) -- [Azure Cosmos DB](cosmos-db) +- [Azure Virtual Machine](virtual-machine) Want to help out? Create an issue and [contribute a new scraper](https://github.com/tomkerkhove/promitor/blob/master/adding-a-new-scraper.md). diff --git a/docs/configuration/metrics/storage-queue.md b/docs/configuration/metrics/storage-queue.md index f4f9c3348..1276e709a 100644 --- a/docs/configuration/metrics/storage-queue.md +++ b/docs/configuration/metrics/storage-queue.md @@ -10,6 +10,8 @@ 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)_ Supported metrics: - `TimeSpentInQueue` - Time in seconds that the oldest message has been waiting in the queue to be processed. @@ -22,7 +24,8 @@ description: "Amount of messages in the 'orders' queue" resourceType: StorageQueue accountName: promitor queueName: orders -sasToken: "?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-07-28T02:33:14Z&st=2019-03-24T18:33:14Z&spr=https&sig=OiwNEYueCWlOhveapM1K6cRgV%2Be21gNhoq%2FDZqJEMZE%3F" +sasToken: + environmentVariable: "SECRETS_STORAGEQUEUE_PROMITOR_SASTOKEN" azureMetricConfiguration: metricName: MessageCount aggregation: