Usage

更新时间:
复制 MD 格式

Query bandwidth, traffic, and request counts for your CDN-accelerated domain names. Filter by domain name, time range, and billable region to identify consumption patterns and reconcile billing data.

Data discrepancy: usage data vs. access logs

Traffic reported by the Alibaba Cloud CDN console (and the DCDN console) or API is approximately 1.1 times the traffic recorded in access logs. For details, see Why does usage data differ from logged traffic?

Key concepts

Point of Presence (POP): A CDN edge node that serves content to end users. Resource usage data is collected at the POP level and grouped by the billable region the POP belongs to.

Billable region: A geographic billing zone that groups POPs. Alibaba Cloud CDN uses billable regions such as Chinese mainland, Asia Pacific 1, and North America. Because billing is calculated per region, the same domain name may show separate usage figures for each region it serves traffic through.

Resource usage vs. resource monitoring vs. real-time monitoring

Alibaba Cloud CDN provides three data views. Understanding which to use prevents mismatched numbers when reconciling billing reports.

FeatureData collection methodFilter dimensionsBest for
Resource usageCollected at the POP levelBillable region, domain name, time rangeBilling reconciliation, cost analysis
Resource monitoringBased on client IP addressesRegion, ISPPerformance analysis by end-user location
Real-time monitoringBased on client IP addressesRegion, ISPLive traffic observation

For more information, see Resource monitoring and Real-time monitoring.

Queryable metrics

MetricUse when
BandwidthAnalyzing peak capacity and planning capacity upgrades
TrafficEstimating monthly billing and cost allocation
HTTPS requestsAuditing secure request volume
QUIC requestsEvaluating QUIC protocol adoption

Time granularity

The available time granularity, query range, and historical data depth differ between the console and the API.

CDN console

Time granularityMaximum time range per queryHistorical data availableData delay
5 minutes3 daysLast 6 months15 minutes
1 hour31 daysLast 6 months4 hours
1 day31 daysLast 6 months04:00 on the next day

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
The API supports longer query ranges and retains historical data for longer periods than the console. Historical data retention varies by granularity: 93 days for 5-minute data, 186 days for 1-hour data, and 366 days for 1-day data.

Query resource usage details

  1. Log on to the Alibaba Cloud CDN console.

  2. In the left-side navigation pane, click Usage.

  3. On the Usage page, select the metric you want to query and set the filter conditions. The following figure shows the resource usage data for the last 30 days across all domain names. The table below the chart lists daily resource usage data.

    Resource usage

API reference

Use DescribeDomainUsageData to query usage data for domain names in a specified billable region programmatically.

What's next