Alibaba Cloud Dynamic Route for CDN (DCDN) supports the resource monitoring feature, which allows you to query monitoring data of accelerated domain names that belong to your account. The monitoring data includes network traffic, bandwidth, back-to-origin traffic, back-to-origin bandwidth, the number of requests, queries per second (QPS), cache hit ratios, HTTP status codes, and HTTP status codes returned during back-to-origin routing. You can make informed business decisions based on the monitoring data.
Overview
Time granularity
- Use the DCDN console:
Time granularity Maximum time range per query Historical data available Data delay 5 minutes 3 days 30 days 15 minutes 1 hour 30 days 30 days 4 hours 1 day 30 days 30 days 04:00 on the next day - Call API operations:
Time granularity Maximum time range per query Historical data available Data delay 5 minutes 3 Days 93 days 15 minutes 1 hour 31 days 186 days 4 hours 1 day 366 days 366 days 04:00 on the next day
Differences between resource monitoring and real-time monitoring
Resource monitoring and real-time monitoring are different in terms of time granularity, data delay, and time period within which historical data is available. For more information about time granularities supported by real-time monitoring, see Real-time monitoring.
Monitoring items and metrics
- Resource monitoring collects data based on the region or ISP that client IP addresses belong to. Fees are calculated based on the amount of data transfer, the amount of bandwidth resources consumed, and the number of requests on DCDN points of presence (POPs) in each billable region. The resource monitoring data and the billing data may be slightly different due to different collection methods.
- Data is collected and calculated by calling API operations. For more information, see the API references in the following table.
Monitoring item | Description | References |
---|---|---|
Traffic and Bandwidth | Monitors the bandwidth and traffic of accelerated domain names. You can query monitoring data by region, ISP, and protocol. The following protocols are supported: HTTP and HTTPS. | |
Origin Fetch Statistics | Monitors the back-to-origin bandwidth and back-to-origin traffic for accelerated domain names. | |
Requests | Monitors the number of requests and QPS of accelerated domain names. You can query monitoring data by region, ISP, and protocol. The following protocols are supported: HTTP and HTTPS. Note
| DescribeDcdnDomainRealTimeQpsData |
Hit Rate | Monitors the byte hit ratios and request hit ratios of accelerated domain names. | |
HTTPCODE | Monitors the HTTP status codes returned from accelerated domain names. The status codes include HTTP 2xx, HTTP 3xx, HTTP 4xx, and HTTP 5xx. | DescribeDcdnDomainHttpCodeData |
Usage notes
The traffic usage of accelerated domain names that is queried by using the monitoring or resource usage feature available in the Alibaba Cloud DCDN console or by calling API operations differs from that collected in logs. Typically, the traffic usage of accelerated domain names that is queried by using the monitoring or resource usage feature is 1.1 times that collected in logs. For more information, see Why is the actual billed network traffic different from the network traffic reported by the logging feature?
Procedure
- Log on to the DCDN console.
- In the left-side navigation pane, choose .
- On the Resource Monitoring page, select the monitoring item that you want to query, specify filter conditions, and click Search. The system displays monitoring data based on the specified items and filter conditions. Then, you can analyze or export the monitoring data.