Metrics requests

Local metrics storage requests

Redis Software
Method Path Description
GET /v1/metrics/status Get the local metrics storage status of cluster nodes

Get metrics status

GET /v1/metrics/status

Get the status of all nodes or a specific node. The response describes the state of each node's store. It doesn't return the stored metrics.

Required permissions

Permission name
view_cluster_info

Request

Example HTTP request

GET /v1/metrics/status?node_uid=1

Request headers

Key Value Description
Host cnm.cluster.fqdn Domain name
Accept application/json Accepted media type

Query parameters

Field Type Description
node_uid integer Optional. The ID of the node to get the status of. If omitted, returns the status of all nodes.

Response

Returns a nodes array with one object for each node in scope.

Example JSON body

{
  "nodes": [
    {
      "uid": "1",
      "state": "running",
      "disk_usage_bytes": 471859200,
      "disk_max_bytes": 1073741824,
      "retention_days_configured": 8,
      "retention_days_effective": 6,
      "data_range": { "from": "2026-02-15T00:00Z", "to": "2026-02-23T10:00Z" },
      "health": "ok"
    }
  ]
}

Node status fields

Field Type Description
uid string The node ID
state string State of the node's metrics store:
running
stopped
unknown
disk_usage_bytes integer Disk space used by stored metrics, in bytes
disk_max_bytes integer Configured maximum disk space for stored metrics, in bytes, set by local_storage_max_size_mb
retention_days_configured integer Configured retention, in days, set by local_storage_retention_days
retention_days_effective integer Retention currently in effect on the node, in days. It matches retention_days_configured unless the node has been under storage pressure, which lowers effective retention to keep stored data within disk_max_bytes. When the two values differ, the node keeps less history than configured.
data_range object Time range covered by the node's stored samples, with from and to timestamps
health string Health of the node's metrics store:
ok
degraded
unknown

Status codes

Code Description
200 OK Success.
404 Not Found The node_uid doesn't match a node in the cluster (error_code: node_not_found).
500 Internal Server Error Internal server error.
RATE THIS PAGE
Back to top ↑