Cloud Usage Statistics

Cloud Usage statistics show detailed information on the resources used by virtual servers.
To get the daily stats (information on the resources used by virtual servers), use the following request:

GET /usage_statistics.xml
GET /usage_statistics.json

This request sends back usage statistics for all virtual servers in the cloud (per VS for the last 48 hours).

XML Request Example

curl -i -X GET -H 'Accept: application/xml' -H 'Content-type: application/xml' -u user:userpass --url http://onapp.test/usage_statistics.xml

JSON Request Example

curl -i -X GET -H 'Accept: application/json' -H 'Content-type: application/json' -u user:userpass --url http://onapp.test/usage_statistics.json

XML Output Example



data_sent - the amount of Kilobytes sent by this VS

reads_completed - the number of read operations performed by the disk

data_received - the amount of Kilobytes received by this VS

cpu_usage - the average CPU percentage that the VS has been using during the last 72 hours or during the specified period.

virtul_machine_id - the ID of the VS for which these statistics are generated

writes_completed - the number of write operations performed by the disk

data_read - the amount of data read from a disk in Kilobytes

data_written - the amount of data written to a disk in Kilobytes

Other statistics generated in the system: