Updated on 2025-10-21 GMT+08:00

Supported Metrics

Description

This section describes GeminiDB Redis API metrics reported to Cloud Eye as well as their namespaces and dimensions. You can use APIs provided by Cloud Eye to query the metrics and alarms.

Cloud Eye supports a maximum of four dimension layers from 0 to 3. For example, if a metric dimension is redis_cluster_id,redis_node_id, redis_cluster_id is at layer 0 and redis_node_id at layer 1.

You can view the instance-level and node-level GeminiDB Redis metrics described in GeminiDB Redis on each instance node by referring to Viewing Metrics. The instance-level metrics displayed on each instance node are the same.

Namespace

SYS.NoSQL

Instance Metrics

Node Metrics

If a monitored object has multiple dimensions, the dimension layer of specific metrics is required when you use APIs to query the metrics.

For example, if you want to query the slow query count (redis817_slow_query_count) of a node, the metric dimension is redis_cluster_id,redis_node_id, indicating that redis_cluster_id is at layer 0 and redis_node_id is at layer 1.

  • To query a single metric by calling the API, the redis_node_id dimension is used as follows:

    dim.0=redis_cluster_id,4dd5708e1730498e92d314fc7eb2117ein12&dim.1=redis_node_id,0c45432dccee461994bcee6a93807943no12

    4dd5708e1730498e92d314fc7eb2117ein12 and 0c45432dccee461994bcee6a93807943no12 are the dimension values of redis_cluster_id and redis_node_id, respectively. For details about how to obtain the values, see Dimension.

  • To batch query metrics by calling the API, the redis_node_id dimension is used as follows:
    "dimensions": [
        {
            "name": "redis_cluster_id",
            "value": "4dd5708e1730498e92d314fc7eb2117ein12"
        },
        {
            "name": "redis_node_id",
            "value": "0c45432dccee461994bcee6a93807943no12"
        }
    ]

    4dd5708e1730498e92d314fc7eb2117ein12 and 0c45432dccee461994bcee6a93807943no12 are the dimension values of redis_cluster_id and redis_node_id, respectively. For details about how to obtain the values, see Dimension.

Dimension

Key

Value

redis_cluster_id

Cluster ID of the GeminiDB Redis instance

You can obtain the value by following Querying Host Metrics from Different Dimensions.

redis_node_id

Node ID of the GeminiDB Redis instance

You can obtain the value by following Querying Host Metrics from Different Dimensions.