Skip to main content
POST
Query Kubernetes volume metrics
For authentication and the other Kubernetes endpoints, see the Public API (V2) overview.

Authorizations

Authorization
string
header
required

Authorization: Bearer <token>

Body

application/json

Query for fetching the latest metrics per Kubernetes volume in a time range.

site_id
string
required

Site whose volume metrics to query; the caller must have access to it.

from
string<date-time>
required

Inclusive start, at or after 1970-01-01T00:00:00Z and before to.

to
string<date-time>
required

Exclusive end, at most 48 hours after from and no later than 2106-02-07T06:28:16Z.

Response

One row per node and volume name in the requested time range. Both names must be nonempty. For equal timestamps, the sample with the highest used bytes wins first.

timestamp
string<date-time>
required

Timestamp of the filesystem sample.

node_name
string
required

Nonempty name of the node that reported the volume.

volume_name
string
required

Nonempty name of the volume on that node.

fs_used_bytes
integer<u-int64>
required

Filesystem space used in bytes.

Required range: x >= 0
fs_capacity_bytes
integer<u-int64>
required

Total filesystem capacity in bytes.

Required range: x >= 0
fs_available_bytes
integer<u-int64>
required

Filesystem space available in bytes.

Required range: x >= 0
fs_inodes_used
integer<u-int64>
required

Number of inodes in use.

Required range: x >= 0
fs_inodes
integer<u-int64>
required

Total number of inodes.

Required range: x >= 0