Operator Metrics

This document aims to help users that are not familiar with metrics exposed by this operator. The metrics documentation is auto-generated by the utility tool “monitoring/metricsdocs” and reflects all of the metrics that are exposed by the operator.

Operator Metrics List

redisreplication_connected_slaves_total

Total number of connected slaves Type: Counter.

redisreplication_has_master

Indicates whether the master of a Redis instance was found. Type: Gauge.

redisreplication_master_role_changes_total

Total number of master role changes Type: Counter.

redisreplication_replicas_size_current

Total current number of redisreplication replicas. Type: Gauge.

redisreplication_replicas_size_desired

Total desired number of redisreplication replicas. Type: Gauge.

redisreplication_replicas_size_mismatch

Total number of times the redisreplication size mismatches. Type: Gauge.

Developing new metrics

After developing new metrics or changing old ones, please run “make generate-metricsdocs” to regenerate this document.

If you feel that the new metric doesn’t follow these rules, please change “monitoring/metricsdocs” according to your needs.

Last modified March 12, 2025: feat: add redisreplication observability (#1274) (6963517)