Supported metrics for Microsoft.Cdn/profiles

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

Category Metric Name in REST API Unit Aggregation Dimensions Time Grains DS Export
Request Status Byte Hit Ratio

This is the ratio of the total bytes served from the cache compared to the total response bytes
ByteHitRatio Percent Average Endpoint PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes
Origin Health Origin Health Percentage

The percentage of successful health probes from AFDX to backends.
OriginHealthPercentage Percent Average Origin, OriginGroup PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes
Latency Origin Latency

The time calculated from when the request was sent by AFDX edge to the backend until AFDX received the last response byte from the backend.
OriginLatency MilliSeconds Average Origin, Endpoint PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes
Traffic Origin Request Count

The number of requests sent from AFDX to origin.
OriginRequestCount Count Total (Sum) HttpStatus, HttpStatusGroup, Origin, Endpoint PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes
Request Status Percentage of 4XX

The percentage of all the client requests for which the response status code is 4XX
Percentage4XX Percent Average Endpoint, ClientRegion, ClientCountry PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes
Request Status Percentage of 5XX

The percentage of all the client requests for which the response status code is 5XX
Percentage5XX Percent Average Endpoint, ClientRegion, ClientCountry PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes
Traffic Request Count

The number of client requests served by the HTTP/S proxy
RequestCount Count Total (Sum) HttpStatus, HttpStatusGroup, ClientRegion, ClientCountry, Endpoint PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes
Traffic Request Size

The number of bytes sent as requests from clients to AFDX.
RequestSize Bytes Total (Sum) HttpStatus, HttpStatusGroup, ClientRegion, ClientCountry, Endpoint PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes
Traffic Response Size

The number of bytes sent as responses from HTTP/S proxy to clients
ResponseSize Bytes Total (Sum) HttpStatus, HttpStatusGroup, ClientRegion, ClientCountry, Endpoint PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes
Latency Total Latency

The time calculated from when the client request was received by the HTTP/S proxy until the client acknowledged the last response byte from the HTTP/S proxy
TotalLatency MilliSeconds Average HttpStatus, HttpStatusGroup, ClientRegion, ClientCountry, Endpoint PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes
Traffic Web Application Firewall JS Challenge Request Count

The number of JS challenge requests evaluated by the Web Application Firewall
WebApplicationFirewallJsRequestCount Count Total (Sum) PolicyName, RuleName, Action PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes
Traffic Web Application Firewall Request Count

The number of client requests processed by the Web Application Firewall
WebApplicationFirewallRequestCount Count Total (Sum) PolicyName, RuleName, Action PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes

Next steps