All Products
Search
Document Center

CDN:Resource Monitoring

Last Updated:Apr 01, 2026

Resource Monitoring tracks bandwidth, traffic, cache performance, and HTTP status codes for your accelerated domain names — broken down by the region or carrier of client IP addresses. Use it to identify traffic trends, diagnose origin errors, and optimize CDN configurations.

How it works

Resource Monitoring collects data based on the region or carrier of client IP addresses, not CDN points of presence (POPs). This means the data reflects where your end users are located, which differs from billing data (based on POP locations).

All six metrics support filtering by domain name, region, and carrier. Four of them also support filtering by protocol (HTTP, HTTPS, QUIC, IPv4, and IPv6).

Metrics

MetricWhat it showsProtocol filter
Data Transfer/Bandwidth of RequestsBandwidth and traffic for accelerated domain namesSupported (HTTP, HTTPS, QUIC, IPv4, IPv6)
Back-to-origin Data Transfer/BandwidthBandwidth and traffic consumed when CDN POPs fetch from the origin server due to cache missesNot supported
Number of RequestsTotal requests and queries per second (QPS) for accelerated domain namesSupported (HTTP, HTTPS, QUIC, IPv4, IPv6)
Hit RateByte hit ratio and request hit ratio for accelerated domain namesNot supported
HTTPCODEHTTP status code distribution for edge responses (2xx, 3xx, 4xx, 5xx)Not supported
HTTP Status Codes to Back-to-origin RequestsHTTP status code distribution for origin-fetch responses (2xx, 3xx, 4xx, 5xx)Not supported

Metric definitions

Data Transfer/Bandwidth of Requests

Displays the bandwidth and traffic of accelerated domain names.

Related APIs: Query bandwidth by protocol | Query usage by day

Back-to-origin Data Transfer/Bandwidth

  • Back-to-origin bandwidth: Network bandwidth consumed when a CDN POP requests a resource from the origin server because the content is not cached locally.

  • Back-to-origin traffic: Data volume transferred from the origin server to CDN POPs for the same reason.

Related APIs: Query back-to-origin bandwidth | Query back-to-origin traffic

Number of Requests

  • Requests: Total number of requests within the selected time granularity period. For example, at 5-minute granularity, this is the total count for each 5-minute window.

  • QPS (queries per second): Average number of requests per second within the selected time window.

Related API: Query QPS by protocol

Hit Rate

  • Byte hit ratio: Percentage of bytes served directly from CDN cache, calculated as (Total bytes served by CDN POPs to users - Total bytes served by origin server to CDN POPs) / Total bytes served by CDN POPs to users.

  • Hit rate: Byte hit ratio across all requests (HTTP and HTTPS) within the selected period.

  • HTTPS hit rate: Byte hit ratio for HTTPS requests only.

Related APIs: Query byte hit ratio | Query request hit ratio

HTTPCODE (edge response)

Distributes requests by HTTP status code returned by the CDN edge node:

  • 2xx Success: The CDN node processed the request and returned the resource or a confirmation.

  • 4xx Client Error: The CDN node rejected the request because it was invalid (for example, insufficient permissions). Modify the client request and retry.

  • 5xx Server Error: An internal error occurred on the CDN node (for example, the node was overloaded). Check your origin server configuration, such as its network settings.

For status code descriptions and solutions, see HTTP status codes.

Related API: Query HTTP status codes by protocol

HTTP Status Codes to Back-to-origin Requests (origin-fetch response)

Distributes origin-fetch requests by HTTP status code returned by the origin server:

  • 4xx Client Error: The origin server rejected the request because it was invalid (for example, the resource does not exist). Modify the client request or adjust the accelerated domain name configuration, then retry.

  • 5xx Server Error: An internal error occurred on the origin server (for example, the server was overloaded). Check your origin server configuration and load.

For status code descriptions and solutions, see HTTP status codes.

Related API: Query back-to-origin HTTP status codes

Data granularity and retention

The available time granularity, maximum query span, historical data retention, and data latency differ depending on whether you query from the console or via API.

Console

GranularityMax time range per queryHistorical data availableData latency
5 minutes3 days90 days15 minutes
1 hour31 days90 days4 hours
1 day90 days90 days4:00 AM the next day

API

GranularityMax time range per queryHistorical data availableData latency
5 minutes3 days93 days15 minutes
1 hour31 days186 days4 hours
1 day366 days366 days4:00 AM the next day
The API retains significantly more historical data than the console — up to 186 days for hourly data and 366 days for daily data, compared to 90 days for both in the console.

Usage notes

  • Monitoring data vs. billing data: Resource Monitoring is based on client IP regions and carriers. Billing is based on traffic and bandwidth at CDN POPs in each billing region. The two datasets use different statistical methods, so the numbers may not match. Use the charts in Resource Monitoring to track bandwidth trends, not to reconcile billing. To query metering data that corresponds to your bills, see Usage overview.

  • Monitoring data vs. log data: Traffic data from Resource Monitoring (and usage queries) is typically 1.1 times the traffic calculated from CDN logs. For details, see Why does traffic data differ between monitoring queries, usage queries, and log analysis?

Choosing between monitoring features

Alibaba Cloud CDN provides three data features. The table below shows when to use each one.

FeatureData sourceFilter dimensionsTime granularityBest for
Resource MonitoringClient IP addressesRegion, carrier, protocol5 min / 1 hr / 1 dayHistorical trend analysis; protocol-level breakdown
Real-time MonitoringClient IP addressesRegion, carrier1 minuteNear-real-time troubleshooting (data latency ~5 min)
UsageCDN POPsBilling region (such as Chinese mainland, Asia Pacific 1, and North America)VariesReconciling traffic with billing statements

Differences between Resource Monitoring and Real-time Monitoring:

  • Latency: Real-time Monitoring data is available within ~5 minutes. Resource Monitoring data at 5-minute granularity is available within ~15 minutes.

  • Granularity: Real-time Monitoring supports 1-minute granularity. Resource Monitoring's finest granularity is 5 minutes.

  • Protocol breakdown: Resource Monitoring supports filtering by HTTP, HTTPS, QUIC, IPv4, and IPv6. Real-time Monitoring does not.

For more information, see Real-time Monitoring and Query resource usage.

Query resource monitoring data

  1. Log on to the CDN console.

  2. In the left navigation pane, choose Monitoring & Usage Analytics > Resource Monitoring.

  3. Select a metric, domain names, region, carrier, and time range, then click Search. The dashboard displays charts and data tables for the selected metric and conditions.

    Resource Monitoring dashboard

What's next