Redis fields

edit

Redis metrics collected from Redis.

redis fields

edit

redis contains the information and statistics from Redis.

info fields

edit

info contains the information and statistics returned by the INFO command.

clients fields

edit

Redis client stats.

redis.info.clients.connected

type: long

Number of client connections (excluding connections from slaves).

redis.info.clients.longest_output_list

[6.5.0] Deprecated in 6.5.0.

type: long

Longest output list among current client connections (replaced by max_output_buffer).

redis.info.clients.max_output_buffer

type: long

Longest output list among current client connections.

redis.info.clients.biggest_input_buf

[6.5.0] Deprecated in 6.5.0.

type: long

Biggest input buffer among current client connections (replaced by max_input_buffer).

redis.info.clients.max_input_buffer

type: long

Biggest input buffer among current client connections (on redis 5.0).

redis.info.clients.blocked

type: long

Number of clients pending on a blocking call (BLPOP, BRPOP, BRPOPLPUSH).

cluster fields

edit

Redis cluster information.

redis.info.cluster.enabled

type: boolean

Indicates that the Redis cluster is enabled.

cpu fields

edit

Redis CPU stats

redis.info.cpu.used.sys

type: scaled_float

System CPU consumed by the Redis server.

redis.info.cpu.used.sys_children

type: scaled_float

User CPU consumed by the Redis server.

redis.info.cpu.used.user

type: scaled_float

System CPU consumed by the background processes.

redis.info.cpu.used.user_children

type: scaled_float

User CPU consumed by the background processes.

memory fields

edit

Redis memory stats.

redis.info.memory.used.value

type: long

format: bytes Total number of bytes allocated by Redis.

redis.info.memory.used.rss

type: long

format: bytes

Number of bytes that Redis allocated as seen by the operating system (a.k.a resident set size).

redis.info.memory.used.peak

type: long

format: bytes

Peak memory consumed by Redis.

redis.info.memory.used.lua

type: long

format: bytes

Used memory by the Lua engine.

redis.info.memory.used.dataset

type: long

format: bytes

The size in bytes of the dataset

redis.info.memory.max.value

type: long

format: bytes

Memory limit.

redis.info.memory.max.policy

type: keyword

Eviction policy to use when memory limit is reached.

redis.info.memory.fragmentation.ratio

type: float

Ratio between used_memory_rss and used_memory

redis.info.memory.fragmentation.bytes

type: long

format: bytes

Bytes between used_memory_rss and used_memory

redis.info.memory.active_defrag.is_running

type: boolean

Flag indicating if active defragmentation is active

redis.info.memory.allocator

type: keyword

Memory allocator.

redis.info.memory.allocator_stats.allocated

type: long

format: bytes

Allocated memory

redis.info.memory.allocator_stats.active

type: long

format: bytes

Active memeory

redis.info.memory.allocator_stats.resident

type: long

format: bytes

Resident memory

redis.info.memory.allocator_stats.fragmentation.ratio

type: float

Fragmentation ratio

redis.info.memory.allocator_stats.fragmentation.bytes

type: long

format: bytes

Fragmented bytes

redis.info.memory.allocator_stats.rss.ratio

type: float

Resident ratio

redis.info.memory.allocator_stats.rss.bytes

type: long

format: bytes

Resident bytes

persistence fields

edit

Redis CPU stats.

redis.info.persistence.loading

type: boolean

Flag indicating if the load of a dump file is on-going

rdb fields

edit

Provides information about RDB persistence

redis.info.persistence.rdb.last_save.changes_since

type: long

Number of changes since the last dump

redis.info.persistence.rdb.last_save.time

type: long

Epoch-based timestamp of last successful RDB save

redis.info.persistence.rdb.bgsave.in_progress

type: boolean

Flag indicating a RDB save is on-going

redis.info.persistence.rdb.bgsave.last_status

type: keyword

Status of the last RDB save operation

redis.info.persistence.rdb.bgsave.last_time.sec

type: long

format: duration

Duration of the last RDB save operation in seconds

redis.info.persistence.rdb.bgsave.current_time.sec

type: long

format: duration

Duration of the on-going RDB save operation if any

redis.info.persistence.rdb.copy_on_write.last_size

type: long

format: bytes

The size in bytes of copy-on-write allocations during the last RBD save operation

aof fields

edit

Provides information about AOF persitence

redis.info.persistence.aof.enabled

type: boolean

Flag indicating AOF logging is activated

redis.info.persistence.aof.rewrite.in_progress

type: boolean

Flag indicating a AOF rewrite operation is on-going

redis.info.persistence.aof.rewrite.scheduled

type: boolean

Flag indicating an AOF rewrite operation will be scheduled once the on-going RDB save is complete.

redis.info.persistence.aof.rewrite.last_time.sec

type: long

format: duration

Duration of the last AOF rewrite operation in seconds

redis.info.persistence.aof.rewrite.current_time.sec

type: long

format: duration

Duration of the on-going AOF rewrite operation if any

redis.info.persistence.aof.rewrite.buffer.size

type: long

format: bytes

Size of the AOF rewrite buffer

redis.info.persistence.aof.bgrewrite.last_status

type: keyword

Status of the last AOF rewrite operatio

redis.info.persistence.aof.write.last_status

type: keyword

Status of the last write operation to the AOF

redis.info.persistence.aof.copy_on_write.last_size

type: long

format: bytes

The size in bytes of copy-on-write allocations during the last RBD save operation

redis.info.persistence.aof.buffer.size

type: long

format: bytes

Size of the AOF buffer

redis.info.persistence.aof.size.current

type: long

format: bytes

AOF current file size

redis.info.persistence.aof.size.base

type: long

format: bytes

AOF file size on latest startup or rewrite

redis.info.persistence.aof.fsync.pending

type: long

Number of fsync pending jobs in background I/O queue

redis.info.persistence.aof.fsync.delayed

type: long

Delayed fsync counter

replication fields

edit

Replication

redis.info.replication.role

type: keyword

Role of the instance (can be "master", or "slave").

redis.info.replication.connected_slaves

type: long

Number of connected slaves

redis.info.replication.master_offset

[6.5] Deprecated in 6.5.

type: long

The server’s current replication offset

redis.info.replication.backlog.active

type: long

Flag indicating replication backlog is active

redis.info.replication.backlog.size

type: long

format: bytes

Total size in bytes of the replication backlog buffer

redis.info.replication.backlog.first_byte_offset

type: long

The master offset of the replication backlog buffer

redis.info.replication.backlog.histlen

type: long

Size in bytes of the data in the replication backlog buffer

redis.info.replication.master.offset

type: long

The server’s current replication offset

redis.info.replication.master.second_offset

type: long

The offset up to which replication IDs are accepted

redis.info.replication.master.link_status

type: keyword

Status of the link (up/down)

redis.info.replication.master.last_io_seconds_ago

type: long

format: duration

Number of seconds since the last interaction with master

redis.info.replication.master.sync.in_progress

type: boolean

Indicate the master is syncing to the slave

redis.info.replication.master.sync.left_bytes

type: long

format: bytes

Number of bytes left before syncing is complete

redis.info.replication.master.sync.last_io_seconds_ago

type: long

format: duration

Number of seconds since last transfer I/O during a SYNC operation

redis.info.replication.slave.offset

type: long

The replication offset of the slave instance

redis.info.replication.slave.priority

type: long

The priority of the instance as a candidate for failover

redis.info.replication.slave.is_readonly

type: boolean

Flag indicating if the slave is read-only

server fields

edit

Server info

redis.info.server.version

type: keyword

None

redis.info.server.git_sha1

type: keyword

None

redis.info.server.git_dirty

type: keyword

None

redis.info.server.build_id

type: keyword

None

redis.info.server.mode

type: keyword

None

redis.info.server.os

type: keyword

None

redis.info.server.arch_bits

type: keyword

None

redis.info.server.multiplexing_api

type: keyword

None

redis.info.server.gcc_version

type: keyword

None

redis.info.server.process_id

type: long

None

redis.info.server.run_id

type: keyword

None

redis.info.server.tcp_port

type: long

None

redis.info.server.uptime

type: long

None

redis.info.server.hz

type: long

None

redis.info.server.lru_clock

type: long

None

redis.info.server.config_file

type: keyword

None

stats fields

edit

Redis stats.

redis.info.stats.connections.received

type: long

Total number of connections received.

redis.info.stats.connections.rejected

type: long

Total number of connections rejected.

redis.info.stats.commands_processed

type: long

Total number of commands processed.

redis.info.stats.net.input.bytes

type: long

Total network input in bytes.

redis.info.stats.net.output.bytes

type: long

Total network output in bytes.

redis.info.stats.instantaneous.ops_per_sec

type: long

Number of commands processed per second

redis.info.stats.instantaneous.input_kbps

type: scaled_float

The network’s read rate per second in KB/sec

redis.info.stats.instantaneous.output_kbps

type: scaled_float

The network’s write rate per second in KB/sec

redis.info.stats.sync.full

type: long

The number of full resyncs with slaves

redis.info.stats.sync.partial.ok

type: long

The number of accepted partial resync requests

redis.info.stats.sync.partial.err

type: long

The number of denied partial resync requests

redis.info.stats.keys.expired

type: long

Total number of key expiration events

redis.info.stats.keys.evicted

type: long

Number of evicted keys due to maxmemory limit

redis.info.stats.keyspace.hits

type: long

Number of successful lookup of keys in the main dictionary

redis.info.stats.keyspace.misses

type: long

Number of failed lookup of keys in the main dictionary

redis.info.stats.pubsub.channels

type: long

Global number of pub/sub channels with client subscriptions

redis.info.stats.pubsub.patterns

type: long

Global number of pub/sub pattern with client subscriptions

redis.info.stats.latest_fork_usec

type: long

Duration of the latest fork operation in microseconds

redis.info.stats.migrate_cached_sockets

type: long

The number of sockets open for MIGRATE purposes

redis.info.stats.slave_expires_tracked_keys

type: long

The number of keys tracked for expiry purposes (applicable only to writable slaves)

redis.info.stats.active_defrag.hits

type: long

Number of value reallocations performed by active the defragmentation process

redis.info.stats.active_defrag.misses

type: long

Number of aborted value reallocations started by the active defragmentation process

redis.info.stats.active_defrag.key_hits

type: long

Number of keys that were actively defragmented

redis.info.stats.active_defrag.key_misses

type: long

Number of keys that were skipped by the active defragmentation process

redis.info.slowlog.count

type: long

Count of slow operations

keyspace fields

edit

keyspace contains the information about the keyspaces returned by the INFO command.

redis.keyspace.id

type: keyword

Keyspace identifier.

redis.keyspace.avg_ttl

type: long

Average ttl.

redis.keyspace.keys

type: long

Number of keys in the keyspace.

redis.keyspace.expires

type: long