Metrics
Fetch the most-recent value of every metric on a node.
Changed onNode 0 is the synthetic control-plane node. This is what the server monitoring page reads for its "Used: X / Limit: Y" headlines (node.memory_used_bytes, node.disk_total_bytes, …) and for the cumulative *_bytes_total I/O counters, without having to fetch a full range for each series.
get/nodes/{id}/metrics/latest
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Path parameters
idinteger required
Node ID (0 = control plane)
Response
Map of metric name to latest value
object required
Changes
- info
endpoint added
- info