Supported metrics for Microsoft.Web/staticsites

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

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

BytesSent
BytesSent Bytes Total <none> PT5M, PT1H, P1D Yes
CdnPercentageOf4XX

CdnPercentageOf4XX
CdnPercentageOf4XX Percent Total <none> PT5M, PT1H, P1D Yes
CdnPercentageOf5XX

CdnPercentageOf5XX
CdnPercentageOf5XX Percent Total <none> PT5M, PT1H, P1D Yes
CdnRequestCount

CdnRequestCount
CdnRequestCount Count Total <none> PT5M, PT1H, P1D Yes
CdnResponseSize

CdnResponseSize
CdnResponseSize Bytes Total <none> PT5M, PT1H, P1D Yes
CdnTotalLatency

CdnTotalLatency
CdnTotalLatency MilliSeconds Total <none> PT5M, PT1H, P1D Yes
DataApiErrors

DataApiErrors
DataApiErrors Count Total <none> PT5M, PT1H, P1D Yes
DataApiHits

DataApiHits
DataApiHits Count Total <none> PT5M, PT1H, P1D Yes
FunctionErrors

FunctionErrors
FunctionErrors Count Total <none> PT5M, PT1H, P1D Yes
FunctionHits

FunctionHits
FunctionHits Count Total <none> PT5M, PT1H, P1D Yes
SiteErrors

SiteErrors
SiteErrors Count Total <none> PT5M, PT1H, P1D Yes
SiteHits

SiteHits
SiteHits Count Total <none> PT5M, PT1H, P1D Yes