# RedisDB Metrics

## redis.aof.buffer_length

The size of the AOF buffer.

## redis.aof.last_rewrite_time

The duration of the last AOF rewrite.

## redis.aof.rewrite

A flag indicating that a AOF rewrite operation is on-going.

## redis.clients.biggest_input_buf

The biggest input buffer among current client connections.

## redis.clients.blocked

The number of connections waiting on a blocking call.

## redis.clients.longest_output_list

The longest output list among current client connections.

## redis.command.calls

The number of times a redis command has been called. The commands are tagged with command (for example, command:append).

## redis.command.usec_per_call

The CPU time consumed per redis command call. The commands are tagged with command (for example, command:append).

## redis.cpu.sys

The system CPU consumed by the Redis server.

## redis.cpu.sys_children

The system CPU consumed by the background processes.

## redis.cpu.user

The user CPU consumed by the Redis server.

## redis.cpu.user_children

The user CPU consumed by the background processes.

## redis.expires

The number of keys that have expired.

## redis.expires.percent

The percentage of total keys that have been expired.

## redis.info.latency_ms

The latency of the redis INFO command.

## redis.key.length

The number of elements in a given key. Each element is tagged by key (for example, key:mykeyname).

## redis.keys

The total number of keys.

## redis.keys.evicted

The total number of keys evicted due to the maxmemory limit.

## redis.keys.expired

The total number of keys expired from the database.

## redis.mem.fragmentation_ratio

The ratio between used_memory_rss and used_memory.

## redis.mem.lua

The amount of memory used by the Lua engine.

## redis.mem.maxmemory

The maximum amount of memory allotted to the RedisDB system.

## redis.mem.peak

The peak amount of memory used by Redis.

The amount of memory that Redis allocated as seen by the operating system.

## redis.mem.used

The amount of memory allocated by Redis.

## redis.net.clients

The number of connected clients (excluding slaves).

## redis.net.commands

The number of commands processed by the server.

## redis.net.commands.instantaneous_ops_per_sec

The number of commands processed by the server per second.

## redis.net.rejected

The number of rejected connections.

## redis.net.slaves

The number of connected slaves.

## redis.perf.latest_fork_usec

The duration of the latest fork.

## redis.persist

The number of keys persisted. The formula for this metric is redis.keys - redis.expires.

## redis.persist.percent

Percentage of total keys that are persisted.

## redis.pubsub.channels

The number of active pubsub channels.

## redis.pubsub.patterns

The number of active pubsub patterns.

## redis.rdb.bgsave

Determines whether a bgsave is in progress. The value is one if a bgsave is in progress, and zero at all other times.

## redis.rdb.changes_since_last

The number of changes since the last background save.

## redis.rdb.last_bgsave_time

The duration of the last bg_save operation.

## redis.replication.backlog_histlen

The amount of data in the backlog sync buffer.

## redis.replication.delay

The replication delay in offsets.

## redis.replication.last_io_seconds_ago

The amount of time since the last interaction with master.

The amount of time that the master link has been down.

## redis.replication.master_repl_offset

The replication offset reported by the master.

## redis.replication.slave_repl_offset

The replication offset reported by the slave.

## redis.replication.sync

Determines whether a sync is in progress. The value is one if a sync is in progress, and zero at all other times.

## redis.replication.sync_left_bytes

The amount of data left before syncing is complete.

## redis.slowlog.micros.95percentile

The 95th percentile of the duration of queries reported in the slow log.

## redis.slowlog.micros.avg

The average duration of queries reported in the slow log.

## redis.slowlog.micros.count

The rate of queries reported in the slow log.

## redis.slowlog.micros.max

The maximum duration of queries reported in the slow log.

## redis.slowlog.micros.median

The median duration of queries reported in the slow log.

## redis.stats.keyspace_hits

The total number of successful lookups in the database.

## redis.stats.keyspace_misses

The total number of missed lookups in the database.