All Products
Search
Document Center

Dynamic Content Delivery Network:Real-time monitoring

Last Updated:Apr 22, 2024

You can view the access data, including bandwidth, traffic, number of requests, and QPS, the origin bandwidth or traffic, and hit ratio, and HTTP status code of accelerated domain names in real time. This helps you quickly detect abnormal traffic and pinpoint problems.

Overview

Time granularity

You can query monitoring data by using the DCDN console or calling API operations. However, the time granularity, the maximum time range per query, and the period within which historical data is available are different. The following table describes the maximum time range per query, the period within which historical data is available, and data delay.

  • Use the DCDN console:

    Time granularity

    Maximum time range per query

    Historical data available

    Data delay

    1 minute

    1 hour

    7 days

    3 to 5 minutes

    5 minutes

    3 days

    7 days

    15 minutes

  • Call API operations:

    Time granularity

    Maximum time range per query

    Historical data available

    Data delay

    1 minute

    1 hour

    7 days

    5 minutes

    5 minutes

    3 days

    93 days

    15 minutes

    1 hour

    31 days

    186 days

    4 hours

Differences between resource monitoring and real-time monitoring

Real-time monitoring and resource monitoring are different in terms of time granularity, data delay, and time period within which historical data is available. For more information about the time granularity supported by resource monitoring, see Resource monitoring.

Monitoring items and metrics

The following table describes the monitoring items. You can query metrics such as bandwidth and traffic by specifying query conditions, for example, domain name, region, Internet service provider (ISP), and time range.

Note

Data is collected and calculated by calling API operations. For more information, see the API references in the following table.

Monitoring item

Description

References

Basic Data

Monitors the bandwidth, traffic, number of requests, and QPS for accelerated domain names.

Back-to-Origin Traffic

Monitors the origin bandwidth and traffic for accelerated domain names.

Quality Monitoring

Monitors the request hit ratio, byte hit ratio, HTTP status codes 2xx, 3xx, 4xx, and 5xx for accelerated domain names.

Usage notes

  • The traffic usage of accelerated domain names that is queried by using the monitoring or resource usage feature available in the 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?

  • In terms of resource monitoring, data is collected based on the region and ISP of client IP addresses. In terms of metering, fees are calculated based on the network traffic, bandwidth, and number of requests on DCDN points of presence (POPs) in each billable region. The resource monitoring data and the metering data may be slightly different due to different collection methods.

Procedure

  1. Log on to the DCDN console.

  2. In the left-side navigation pane, choose Monitoring > Real-time Monitoring.

  3. On the Real-time Monitoring page, select the monitoring item and metric that you want to query, and click Search.

    The system displays the query results based on the monitoring items and query conditions that you selected. You can analyze the query results online. 实时监控