All Products
Search
Document Center

CDN:Query resource usage

更新時間:Sep 06, 2024

You can query resource usage of specified domain names. You can set different filter conditions to query specific usage information, including bandwidth values, network traffic, and the number of HTTPS or QUIC requests. You can query information by accelerated domain name, time range, and billable region.

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 CDN or 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 traffic amount found by using the monitoring and usage analytics feature or the usage statistics feature different from the traffic amount that is logged?

Differences among resource usage query, resource monitoring, and real-time monitoring

  • Resource usage query: Usage data is collected by POP. You can query resource usage data based on the billable region where the POP belongs to, such as the Chinese mainland, Asia Pacific 1, and North America. For more information, see Query resource usage.

  • Resource monitoring and real-time monitoring: Monitoring data is collected based on client IP addresses. Each client IP address belongs to a region or an ISP. You can query monitoring data by region, ISP, or both. For more information, see Resource monitoring and Real-time monitoring.

Time granularity

You can query resource usage in the Alibaba Cloud CDN console or by calling API operations. However, the maximum time range that you can query and the maximum period of time within which historical data is available are different. The following table describes the maximum time range to query, the period within which historical data is available, and data delay.

  • In the Alibaba Cloud CDN console:

    Time granularity

    Maximum time range per query

    Historical data available

    Data delay

    5 minutes

    3 days

    The last 6 months

    15 minutes

    1 hour

    31 days

    The last 6 months

    4 hours

    1 day

    31 days

    The last 6 months

    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

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 an item that you want to query and set the filter conditions.

    The following figure shows the resource usage data of the last 30 days of all domain names. The table below the chart lists the resource usage data collected every day.

    Resource usage

Related API operations

DescribeDomainUsageData: queries the usage data of domain names in a specified billable region.