Skip to content

Commit

Permalink
Reflect new SAS token configuration for Storage Queues in documentati…
Browse files Browse the repository at this point in the history
…on (#535)

* Reflect new SAS token configuration in documentation

* Alphabetically order supported Azure Services
  • Loading branch information
tomkerkhove authored Apr 30, 2019
1 parent a1f128a commit 9a3c2e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/configuration/metrics/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
5 changes: 4 additions & 1 deletion docs/configuration/metrics/storage-queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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:
Expand Down

0 comments on commit 9a3c2e5

Please sign in to comment.