Learn about the Redis Integration.

This page provides an overview of what you can do with the Redis integration. The documentation pages only for a limited number of integrations contain the setup steps and instructions. If you do not see the setup steps here, navigate to the Operations for Applications GUI. The detailed instructions for setting up and configuring all integrations, including the Redis integration are on the Setup tab of the integration.

  1. Log in to your Operations for Applications instance.
  2. Click Integrations on the toolbar, search for and click the Redis tile.
  3. Click the Setup tab and you will see the most recent and up-to-date instructions.

Redis Integration

Redis is a popular open source, in-memory data store, used as a database, cache, and message broker. Redis provides data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs, geospatial indexes, and streams. By setting up this integration, you can send Redis metrics into Operations for Applications.

  1. Redis: This integration installs and configures Telegraf to send Redis metrics into Operations for Applications. Telegraf is a light-weight server process capable of collecting, processing, aggregating, and sending metrics to a Wavefront proxy.
  2. Redis on Kubernetes: This explains the configuration of Kubernetes Metrics Collector to scrape Redis metrics using auto-discovery with annotation based discovery.

In addition to setting up the metrics flow, this integration also installs dashboards:

  • Redis
  • Redis on Kubernetes

Here’s a screenshot of a Redis on Kubernetes dashboard that displays Redis metrics:

images/redis-dashboard.png

Metrics

Metric Name Description
redis.active.defrag.* Metrics for the activedefrag configuration. Accumulation of memory fragmentation can result in the system running out of memory and eventually cause a Redis server to crash. The activedefrag Redis configuration can help to reduce fragmentation.
redis.active.defrag.hits  
redis.active.defrag.key.hits  
redis.active.defrag.key.misses  
redis.active.defrag.misses  
redis.active.defrag.running  
redis.allocator.* Metrics for the memory allocator, including fragmentation bytes and ratio.
redis.allocator.active  
redis.allocator.allocated  
redis.allocator.frag.bytes  
redis.allocator.frag.ratio  
redis.allocator.resident  
redis.allocator.rss.bytes  
redis.allocator.rss.ratio  
redis.aof.* Metrics related to the AOF (append-only file) feature. When AOF is anabled, a node writes all comands that change cache data to an append only file.
redis.aof.base.size  
redis.aof.buffer.length  
redis.aof.current.rewrite.duration.sec.gauge  
redis.aof.current.rewrite.time.sec  
redis.aof.current.size  
redis.aof.delayed.fsync  
redis.aof.enabled  
redis.aof.enabled.gauge  
redis.aof.last.bgrewrite.status.gauge  
redis.aof.last.cow.size  
redis.aof.last.rewrite.duration.sec.gauge  
redis.aof.last.rewrite.time.sec  
redis.aof.last.write.status.gauge  
redis.aof.pending.bio.fsync  
redis.aof.pending.rewrite  
redis.aof.rewrite.buffer.length  
redis.aof.rewrite.in.progress  
redis.aof.rewrite.in.progress.gauge  
redis.aof.rewrite.scheduled  
redis.aof.rewrite.scheduled.gauge  
redis.blocked.* Blocked client metrics.
redis.blocked.clients  
redis.blocked.clients.gauge  
redis.client.* Metrics related to redis client input/output.
redis.client.biggest.input.buf.gauge  
redis.client.longest.output.list.gauge  
redis.client.recent.max.input.buffer  
redis.client.recent.max.output.buffer  
redis.clients  
redis.cluster.* Redis cluster metrics
redis.cluster.enabled  
redis.cluster.enabled.gauge  
redis.cmdstat.* Redis command statistics.
redis.cmdstat.calls  
redis.cmdstat.usec  
redis.cmdstat.usec.per.call  
redis.commands.* statistics for commands processed by the server.
redis.commands.duration.seconds.total.gauge  
redis.commands.processed.total.gauge  
redis.commands.total.gauge  
redis.config.* Config information.
redis.config.maxclients.gauge  
redis.config.maxmemory.gauge  
redis.connected.* Number of connected clients and replicas.
redis.connected.clients.gauge  
redis.connected.slaves  
redis.connected.slaves.gauge  
redis.connections.received.total.gauge Total connections received.
redis.db.* DB key information:average TTL, expiring keys, and total keys.
redis.db.avg.ttl.seconds.gauge  
redis.db.keys.expiring.gauge  
redis.db.keys.gauge  
redis.evicted.keys Evicted key info.
redis.evicted.keys.total.gauge  
redis.expired.* Metrics for expired keys.
redis.expired.keys  
redis.expired.keys.total.gauge  
redis.expired.stale.perc  
redis.expired.time.cap.reached.count  
redis.exporter.* Metrics related to the Redis exporter.
redis.exporter.build.info.gauge  
redis.exporter.last.scrape.duration.seconds.gauge  
redis.exporter.last.scrape.error.gauge  
redis.exporter.scrapes.total.counter  
redis.instance.info.gauge Redis instance info.
redis.instantaneous.* INFO stas for instantaneous input, output, and ops.
redis.instantaneous.input.kbps  
redis.instantaneous.input.kbps.gauge  
redis.instantaneous.ops.per.sec  
redis.instantaneous.ops.per.sec.gauge  
redis.instantaneous.output.kbps  
redis.instantaneous.output.kbps.gauge  
redis.keyspace.* Redis keyspace metrics.
redis.keyspace.avg.ttl  
redis.keyspace.expires  
redis.keyspace.hitrate  
redis.keyspace.hits  
redis.keyspace.hits.total.gauge  
redis.keyspace.keys  
redis.keyspace.misses  
redis.keyspace.misses.total.gauge  
redis.last.slow.execution.duration.seconds.gauge Last slow execution duration.
redis.latest.fork.usec Latest fork metric.
redis.latest.fork.usec.gauge  
redis.lazyfree.pending.objects The number of objects waiting to be freed (as a result of calling UNLINK, or FLUSHDB and FLUSHALL with the ASYNC option)
redis.loading Indicates if the load of a dump file is on-going
redis.loading.dump.file.gauge  
redis.lru.clock Clock incrementing every minute, for LRU management
redis.master.repl.offset The server’s current replication offset
redis.master.repl.offset.gauge.  
redis.maxmemory Value of the maxmemory configuration directive.
redis.mem.* Memory-related metrics
redis.mem.aof.buffer  
redis.mem.clients.normal  
redis.mem.clients.slaves  
redis.mem.fragmentation.bytes  
redis.mem.fragmentation.ratio  
redis.mem.not.counted.for.evict  
redis.mem.replication.backlog  
redis.memory.max.bytes.gauge  
redis.memory.used.bytes.gauge  
redis.memory.used.lua.bytes.gauge  
redis.memory.used.peak.bytes.gauge  
redis.memory.used.rss.bytes.gauge  
redis.migrate.cached.sockets  
redis.net.* total number of bytes read from and written to the network.
redis.net.input.bytes.total.gauge  
redis.net.output.bytes.total.gauge  
redis.number.of.cached.scripts Number of cached scripts.
redis.process.id.gauge Process ID of the server process
redis.pubsub.* Pub/sub channels and patterns with client subscriptions.
redis.pubsub.channels  
redis.pubsub.channels.gauge  
redis.pubsub.patterns  
redis.pubsub.patterns.gauge  
redis.rdb.* Metrics related to RDB (Redis Database File).
redis.rdb.bgsave.in.progress  
redis.rdb.bgsave.in.progress.gauge  
redis.rdb.changes.since.last.save  
redis.rdb.changes.since.last.save.gauge  
redis.rdb.current.bgsave.duration.sec.gauge  
redis.rdb.current.bgsave.time.sec  
redis.rdb.last.bgsave.duration.sec.gauge  
redis.rdb.last.bgsave.status.gauge  
redis.rdb.last.bgsave.time.sec  
redis.rdb.last.cow.size  
redis.rdb.last.save.time  
redis.rdb.last.save.time.elapsed  
redis.rdb.last.save.timestamp.seconds.gauge  
redis.rejected.* Rejected connection metrics.
redis.rejected.connections  
redis.rejected.connections.total.gauge  
redis.repl.backlog.* Metrics related to the replication backlog.
redis.repl.backlog.active  
redis.repl.backlog.first.byte.offset  
redis.repl.backlog.histlen  
redis.repl.backlog.size  
redis.replication.backlog.bytes.gauge  
redis.rss.overhead.* Metrics related to RSS (Resident Set Size) memory.
redis.rss.overhead.bytes  
redis.rss.overhead.ratio  
redis.second.repl.offset Second replica offset.
redis.slowlog.* Shows the log last ID and log length.
redis.slowlog.last.id.gauge  
redis.slowlog.length.gauge  
redis.start.time.seconds.gauge Start time in seconds
redis.sync.* Number of full resyncs with replicas, accepted partial resync requests, and denied partial resync requests
redis.sync.full  
redis.sync.partial.ok  
redis.sync.partial.err  
redis.total.* Some comprehensive metrics for the Redis server, e.g. total commands processed or total system memory.
redis.total.commands.processed  
redis.total.connections.received  
redis.total.net.input.bytes  
redis.total.net.output.bytes  
redis.total.system.memory  
redis.total.system.memory.bytes.gauge  
redis.up* Uptime metrics.
redis.up.gauge  
redis.uptime  
redis.uptime.in.seconds.gauge  
redis.used.cpu.* Used CPU metrics
redis.used.cpu.sys  
redis.used.cpu.sys.children  
redis.used.cpu.sys.children.gauge  
redis.used.cpu.sys.gauge  
redis.used.cpu.user  
redis.used.cpu.user.children  
redis.used.cpu.user.children.gauge  
redis.used.cpu.user.gauge  
redis.used.* Used memory metrics.
redis.used.memory  
redis.used.memory.dataset  
redis.used.memory.dataset.perc  
redis.used.memory.lua  
redis.used.memory.overhead  
redis.used.memory.peak  
redis.used.memory.peak.perc  
redis.used.memory.rss  
redis.used.memory.scripts  
redis.used.memory.startup