Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 1
Note

Be aware, that starting with OnApp 5.4 version, the request below will be deprecated. 

 

To get bandwidth statistics for the resources or a particular resource, use the following request:

...

The frequency of the points of time for which the statistics is generated depends on the period of time of requested statistics:

Time Period

Frequency in seconds

Equivalent

 0 - 30 days

86400

1 day

 31 - 93 days

604800

1 week

 equal or more than 93 days

1209600

2 weeks

Info

Statistics available in the frequency higher than selected will be accumulated to a single point of applicable frequency.
E.g. The statistics was requested for the period of 31-93 days, so the frequency of points in the graph is 7 days. If the statistics was generated few times during those 7 days (day1+day2+dayn) it will be added up and displayed as a single point, with a time stamp marked as the first day of such 7 days.