Επεξεργασία

Κοινή χρήση μέσω


Supported metrics for microsoft.insights/autoscalesettings

The following table lists the metrics available for the microsoft.insights/autoscalesettings resource type.

Table headings

Metric - The metric display name as it appears in the Azure portal.
Name in Rest API - Metric name as referred to in the REST API.
Unit - Unit of measure.
Aggregation - The default aggregation type. Valid values: Average, Minimum, Maximum, Total, Count.
Dimensions - Dimensions available for the metric.
Time Grains - Intervals at which the metric is sampled. For example, PT1M indicates that the metric is sampled every minute, PT30M every 30 minutes, PT1H every hour, and so on.
DS Export- Whether the metric is exportable to Azure Monitor Logs via Diagnostic Settings.

For information on exporting metrics, see - Metrics export using data collection rules and Create diagnostic settings in Azure Monitor.

For information on metric retention, see Azure Monitor Metrics overview.

For a list of supported logs, see Supported log categories - microsoft.insights/autoscalesettings

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Metric Threshold

The configured autoscale threshold when autoscale ran.
MetricThreshold Count Average MetricTriggerRule PT1M Yes
Observed Capacity

The capacity reported to autoscale when it executed.
ObservedCapacity Count Average <none> PT1M Yes
Observed Metric Value

The value computed by autoscale when executed
ObservedMetricValue Count Average MetricTriggerSource PT1M Yes
Scale Actions Initiated

The direction of the scale operation.
ScaleActionsInitiated Count Total (Sum) ScaleDirection PT1M Yes

Next steps