Azure Automation account¶
You can scrape an Azure Automation account via the
When using declared resources, the following fields need to be provided:
accountName- The name of the Azure Automation account.
runbookName- The name of the runbook. (optional and only supported on limited metrics)
All supported metrics are documented in the official Azure Monitor documentation.
The following scraper-specific metric label will be added :
runbook_name- Name of the runbook
Here is an example configuration:
name: promitor_demo_automation_job_count description: "Amount of jobs per Azure Automation account & job" resourceType: AutomationAccount azureMetricConfiguration: metricName: TotalJob aggregation: type: Total resources: # Optional, required when no resource discovery is configured - resourceGroupName: promitor-sources accountName: promitor-sandbox runbookName: Example # Optional, currently only supported for 'TotalJob' metric resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://promitor.io/concepts/how-it-works#using-resource-discovery) - name: automation-accounts