GET /servers/{id}/metrics

Get Metrics for specified Server.

You must specify the type of metric to get: cpu, disk or network. You can also specify more than one type by comma separation, e.g. cpu,disk.

Depending on the type you will get different time series data

TypeTimeseriesUnitDescription
cpucpupercentPercent CPU usage
diskdisk.0.iops.readiop/sNumber of read IO operations per second
disk.0.iops.writeiop/sNumber of write IO operations per second
disk.0.bandwidth.readbytes/sBytes read per second
disk.0.bandwidth.writebytes/sBytes written per second
networknetwork.0.pps.inpackets/sPublic Network interface packets per second received
network.0.pps.outpackets/sPublic Network interface packets per second sent
network.0.bandwidth.inbytes/sPublic Network interface bytes/s received
network.0.bandwidth.outbytes/sPublic Network interface bytes/s sent

Metrics are available for the last 30 days only.

If you do not provide the step argument we will automatically adjust it so that a maximum of 200 samples are returned.

We limit the number of samples returned to a maximum of 500 and will adjust the step parameter accordingly.

Servers

Path parameters

Name Type Required Description
id Integer Yes

ID of the Server.

Query parameters

Name Type Required Description
end String Yes

End of period to get Metrics for (in ISO-8601 format)

step String No

Resolution of results in seconds

type String Yes

Type of metrics to get

Possible values:

  • "cpu"
  • "disk"
  • "network"
start String Yes

Start of period to get Metrics for (in ISO-8601 format)

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.