/plushcap/analysis/datadog/how-to-collect-redis-metrics

How to collect Redis metrics

What's this blog post about?

The text discusses how to get Redis metrics using the `redis-cli info` command and provides details about various sections such as Server, Stats, Memory, Clients, Persistence, Replication, CPU, Commandstats, Cluster, and Keyspace. It also covers key metrics like instantaneous_ops_per_sec, hit rate, evicted_keys, rejected_connections, keyspace_misses, used_memory, mem_fragmentation_ratio, connected_clients, rdb_last_save_time, rdb_changes_since_last_save, master_link_down_since, connected_slaves, master_last_io_seconds_ago, and keyspace size. Additionally, it explains how to use the slowlog, latency monitor, network latency, intrinsic latency, and latency doctor for diagnosing latency issues in Redis. Finally, it mentions new memory commands added in Redis 4 like memory doctor, memory usage, memory stats, and memory malloc-stats.

Company
Datadog

Date published
Nov. 7, 2017

Author(s)
Evan Mouzakitis

Word count
1752

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.