Skip to content

Azure Monitor Autoscale

Availability BadgeResource Discovery Support Badge

You can declare to scrape an Azure Monitor Autoscale via the MonitorAutoscale resource type.

When using declared resources, the following fields need to be provided:

  • autoscaleSettingsName - The name of the Azure Monitor Autoscale settings

All supported metrics are documented in the official Azure Monitor documentation.

Example

Here is an example configuration:

- name: promitor_demo_appplan_autoscale_observed_capacity
  description: "Average amount of current instances for an Azure App Plan with Azure Monitor Autoscale"
  resourceType: MonitorAutoscale
  labels:
    app: promitor
  azureMetricConfiguration:
    metricName: ObservedCapacity
    aggregation:
      type: Average
  resources: # Optional, required when no resource discovery is configured
  - autoscaleSettingsName: app-service-autoscaling-rules
  resourceDiscoveryGroups: # Optional, requires Promitor Resource Discovery agent (https://docs.promitor.io/latest/how-it-works#using-resource-discovery)
  - name: autoscaling-rules