Azure Storage Account¶
You can declare to scrape an Azure Queue via the StorageAccount
resource type.
When using declared resources, the following fields need to be provided:
accountName
- The name of the Azure Storage account
All supported metrics are documented in the official Azure Monitor documentation.
Example¶
Here is an example configuration:
name: azure_storage_account_capacity
description: "The average capacity used in the storage account"
resourceType: StorageAccount
azureMetricConfiguration:
metricName: UsedCapacity
aggregation:
type: Average
resources: # Optional, required when no resource discovery is configured
- accountName: promitor-1
- accountName: promitor-2
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://docs.promitor.io/latest/how-it-works#using-resource-discovery)
- name: storage-account-landscape