Edit

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.
  • Advanced platform metrics - A premium, paid tier of platform metrics in Azure Monitor that provide more granular observability for Azure resources.
  • 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 -S 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: Latency

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
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 No MilliSeconds Average Origin, Endpoint PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes
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 No MilliSeconds Average HttpStatus, HttpStatusGroup, ClientRegion, ClientCountry, Endpoint PT1M, PT5M, PT15M, PT30M, PT1H, PT6H, PT12H, P1D Yes

Category: Origin Health

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Origin Health Percentage

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

Category: Request Status

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Byte Hit Ratio

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

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

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

Category: Traffic

Metric Name in REST API Advanced platform metrics Unit Aggregation Dimensions Time Grains DS Export
Active Websocket Connections

The number of active WebSocket connection
ActiveWebSocketConnections No Count Total (Sum) <none> PT1M Yes
Average WebSocket Connection Duration

The average time taken by WebSocket connection
AverageWebSocketConnectionDuration No MilliSeconds Average HttpStatus, HttpStatusGroup, ClientRegion, ClientCountry, Endpoint PT1M Yes
Web Application Firewall HTTPDDoSRuleset Is Active

Indicates whether the HTTP DDoS ruleset is active in the Web Application Firewall
HTTPDDoSRulesetIsActive No Count Average PolicyName PT1M Yes
Origin Request Count

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

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

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

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

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

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

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

The number of WebSocket connections requested
WebSocketConnections No Count Total (Sum) HttpStatus, HttpStatusGroup, ClientRegion, ClientCountry, Endpoint PT1M Yes

Next steps