Azure App Plan¶
You can declare to scrape an Azure App Plan via the AppPlan
resource
type.
When using declared resources, the following fields need to be provided:
appPlanName
- The name of the Azure App Plan
All supported metrics are documented in the official Azure Monitor documentation.
Example¶
Here is an example configuration:
name: azure_app_plan_percentage_memory
description: "Average percentage of memory usage on an Azure App Plan"
resourceType: AppPlan
azureMetricConfiguration:
metricName: MemoryPercentage
aggregation:
type: Average
resources: # Optional, required when no resource discovery is configured
- appPlanName: promitor-app-plan
resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://docs.promitor.io/latest/how-it-works#using-resource-discovery)
- name: app-plans-landscape