Real-Time Statistics Module

The following endpoints provide statistics on the current level of CDN usage activity:

Service

Endpoint Description

realtimestats

Get Current Bandwidth

Reports the current amount of bandwidth usage for the specified platform.

realtimestats

Get Current Cache Status Statistics

Reports the total number of current requests on the specified platform by cache status.

reporting

Get Current Edge CNAME Statistics

Reports the most recent statistics on a per edge CNAME basis by POP.

reporting

Get Current Edge CNAME Statistics II

Reports the most recent statistics on a per edge CNAME basis by POP.

realtimestats

Get Current Status Code Statistics

Reports the total number of current requests on the specified platform by HTTP status code.

realtimestats

Get Current Total Connections

Reports the total number of new connections on the specified platform.

reporting

Get Real-Time Statistics by Country and Edge CNAME

Reports the most recent statistics on a per edge CNAME basis by country.

Calculating Real-Time Statistics

Each metric is calculated as follows:

  1. Each server provides statistical information every minute.
  2. Upon requesting a particular metric, the average value on a per second basis is calculated as indicated below.

    1. Sum the last value provided by each server.
    2. Divide the above sum by 60.