Redis Metrics to KloudMate
Effective Redis performance monitoring is crucial for optimal operation and detection of potential bottlenecks or issues.
You can achieve this by utilizing the OpenTelemetry Collector for metric collection and visualization within KloudMate.
Here is more information on installing the OpenTelemetry Collector and using it.
If you are already running the OpenTelemetry Collector and want to send your telemetry data to KloudMate, simply modify your YAML config file as shown in the following sample config file.
Name | Description | Type | Unit |
---|---|---|---|
redis_commands_processed | Total number of commands processed by the server | Sum | number |
redis_cpu_time | System CPU consumed by the Redis server in seconds since server start | Sum | seconds |
redis_keys_expired | Total number of key expiration events | Sum | number |
redis_db_expires | Number of keyspace keys with an expiration | Gauge | number |
redis_commands | Number of commands processed per second | Gauge | ops/s |
redis_replication_offset | The server's current replication offset | Gauge | Bytes |
redis_net_input | The total number of bytes read from the network | Sum | Bytes |
redis_clients_connected | Number of client connections (excluding connections from replicas) | Sum | number |
redis_keys_evicted | Number of evicted keys due to maxmemory limit | Sum | number |
redis_maxmemory | The value of the maxmemory configuration directive | Gauge | Bytes |
redis_clients_max_input_buffer | Biggest input buffer among current client connections | Gauge | Bytes |
redis_cmd_latency | Command execution latency | Gauge | seconds |
redis_memory_lua | Number of bytes used by the Lua engine | Gauge | Bytes |
redis_replication_backlog_first_byte_offset | The master offset of the replication backlog buffer | Gauge | Bytes |
redis_keyspace_hits | Number of successful lookup of keys in the main dictionary | Sum | number |
redis_clients_blocked | Number of clients pending on a blocking call | Sum | number |
redis_connections_rejected | Number of connections rejected because of maxclients limit | Sum | number |
redis_latest_fork | Duration of the latest fork operation in microseconds | Gauge | microseconds |
redis_clients_max_output_buffer | Longest output list among current client connections | Gauge | Bytes |
redis_slaves_connected | Number of connected replicas | Sum | number |
redis_db_keys | Number of keyspace keys | Gauge | number |
redis_keyspace_misses | Number of failed lookup of keys in the main dictionary | Sum | number |
redis_uptime | Number of seconds since the Redis server started | Sum | seconds |
redis_memory_used | Total number of bytes allocated by Redis using its allocator | Gauge | Bytes |
redis_net_output | The total number of bytes written to the network | Sum | Bytes |
redis_connections_received | Total number of connections accepted by the server | Sum | number |
redis_rdb_changes_since_last_save | Number of changes since the last dump | Sum | number |
redis_memory_rss | Number of bytes that Redis allocated as seen by the operating system | Gauge | Bytes |
redis_db_avg_ttl | Average keyspace keys TTL | Gauge | milliseconds |
redis_memory_peak | Peak memory consumed by Redis (in bytes) | Gauge | Bytes |
redis_memory_fragmentation_ratio | Ratio between used_memory_rss and used_memory | Gauge | number |