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

You can query resource monitoring data by using the DCDN console or calling API operations. However, the maximum time range per query and the time period within which historical data is available are different. The following table describes the maximum time range per query, the time period within which historical data is available, and data delay.
  • Use the DCDN console:
    Time granularityMaximum time range per queryHistorical data availableData delay
    5 minutes3 days30 days15 minutes
    1 hour30 days30 days4 hours
    1 day30 days30 days04:00 on the next day
  • Call API operations:
    Time granularityMaximum time range per queryHistorical data availableData delay
    5 minutes3 Days93 days15 minutes
    1 hour31 days186 days4 hours
    1 day366 days366 days04: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

The following table describes the monitoring items. You can specify filter conditions, such as domain name, region, and Internet service provider (ISP), to filter monitoring data. You can also download the monitoring data to your local PC for viewing and analysis.
Note
  • 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 itemDescriptionReferences
Traffic and BandwidthMonitors 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 StatisticsMonitors the back-to-origin bandwidth and back-to-origin traffic for accelerated domain names.
RequestsMonitors 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
  • The number of requests refers to the total number of requests during a data collection interval. For example, if data is collected every 5 minutes, the number of requests refers to the total number of requests within 5 minutes.
  • QPS refers to the number of queries per second.
DescribeDcdnDomainRealTimeQpsData
Hit RateMonitors the byte hit ratios and request hit ratios of accelerated domain names.
HTTPCODEMonitors 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

  1. Log on to the DCDN console.
  2. In the left-side navigation pane, choose Monitoring > Monitoring.
  3. 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. Resource usage