Supported metrics for Microsoft.Insights/datacollectionrules

The following table lists the metrics available for the Microsoft.Insights/datacollectionrules 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/datacollectionrules

Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Logs Ingestion Requests per Min

Number of requests received via Log Ingestion API or from the agent
ApiCallReceived_Count Count Count InputStreamId, ResponseCode PT1M Yes
Logs Ingestion Bytes per Min

Number of bytes received via Log Ingestion API or from the agent
BytesReceived_Count Bytes Total (Sum), Average, Minimum, Maximum InputStreamId PT1M Yes
Logs Rows Dropped per Min

Number of rows dropped while running transformation.
RowsDropped_Count Count Total (Sum), Average, Minimum, Maximum InputStreamId PT1M Yes
Logs Rows Received per Min

Total number of rows recevied for transformation.
RowsReceived_Count Count Total (Sum), Average, Minimum, Maximum InputStreamId PT1M Yes
Logs Transform Errors per Min

The number of times when execution of KQL transformation resulted in an error, e.g. KQL syntax error or going over a service limit.
TransformationErrors_Count Count Count InputStreamId, ErrorType PT1M Yes
Logs Transform Duration per Min

Total time taken to transform given set of records, measured in milliseconds.
TransformationRuntime_DurationMs MilliSeconds Average, Minimum, Maximum InputStreamId PT1M Yes

Next steps