Azure Data Share¶
You can declare to scrape an Azure Data Share resource via the DataShare
resource
type.
When using declared resources, the following fields need to be provided:
accountName
- The name of the Azure Data Share accountshareName
- The name of the share (optional)
All supported metrics are documented in the official Azure Monitor documentation.
The following scraper-specific metric label will be added:
share_name
- Name of the share.
Example¶
Here is an example configuration:
- name: promitor_demo_data_share_received
description: "Amount of shares received from other parties per Azure Data Share account"
resourceType: DataShare
azureMetricConfiguration:
metricName: ShareSubscriptionCount
aggregation:
type: Maximum
resources: # Optional, required when no resource discovery is configured
- accountName: promitor-data-share
shareName: Promitor
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://docs.promitor.io/latest/how-it-works#using-resource-discovery)
- name: data-share-landscape