<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/valkey-valkey-metrics-in-prometheus-redis-93jg7u5j6" -->

---
title: Valkey · Valkey Metrics in Prometheus: redis | daily.dev
description: A practical guide to monitoring Valkey clusters using two complementary Prometheus exporters: redis_exporter, which runs as a Kubernetes sidecar giving per-pod...
canonical: https://daily.dev/posts/valkey-valkey-metrics-in-prometheus-redis-93jg7u5j6
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Valkey · Valkey Metrics in Prometheus: redis | daily.dev
og:description: A practical guide to monitoring Valkey clusters using two complementary Prometheus exporters: redis_exporter, which runs as a Kubernetes sidecar giving per-pod...
og:url: https://daily.dev/posts/valkey-valkey-metrics-in-prometheus-redis-93jg7u5j6
og:image: https://api.daily.dev/og/posts/93jg7u5J6.png
og:image:alt: Valkey · Valkey Metrics in Prometheus: redis
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Valkey · Valkey Metrics in Prometheus: redis

**[Valkey](https://daily.dev/sources/valkey-blog)** · 3 min read · 1 upvotes · 0 comments

## Summary

A practical guide to monitoring Valkey clusters using two complementary Prometheus exporters: redis_exporter, which runs as a Kubernetes sidecar giving per-pod metrics like memory, clients, and command throughput, and BetterDB, which connects to the cluster's headless service to expose cluster-wide and per-slot metrics such as slot reads/writes and slowlog patterns. It covers PromQL query examples, version requirements (Valkey 8.0+/8.1+ for certain metrics), and licensing details (both exporters are open source or open core with a free MIT-licensed metrics endpoint).

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://valkey.io/blog/valkey-prometheus-exporters>

## Questions this post answers

### What metrics does BetterDB expose for Valkey that redis_exporter does not have an equivalent for?

BetterDB exposes per-slot statistics pulled from the CLUSTER SLOT-STATS command, including betterdb_cluster_slot_keys, betterdb_cluster_slot_reads_total, and betterdb_cluster_slot_writes_total, which redis_exporter has no equivalent for. It also exposes commandlog metrics like betterdb_commandlog_large_request and betterdb_commandlog_large_reply, which require Valkey 8.1+ since they have no Redis equivalent.

_Teams tuning cluster hotspots can track exporter capabilities like these through daily.dev._

### What Valkey version do I need to use CLUSTER SLOT-STATS with cluster-slot-stats-enabled?

Slot statistics require Valkey 8.0 or later, with the cluster-slot-stats-enabled configuration option turned on. Separately, commandlog metrics need Valkey 8.1 or later, and ACL-based metrics like betterdb_acl_denied depend on ACL LOG, which has been available since Valkey 6.

_Developers planning a Valkey upgrade can keep version-gated features like this straight via daily.dev._

### How do I get per-pod Valkey metrics separated by master and replica role in Prometheus?

Run redis_exporter with the --append-instance-role-label flag, which adds an instance_role label set to master or replica to its metrics. This makes it straightforward to filter or alert on primaries versus replicas separately when querying metrics like redis_memory_used_bytes or redis_connected_clients in PromQL.

_Anyone wiring up Valkey alerting can find configuration details like this through daily.dev._

## Similar posts on daily.dev

- [Valkey · Monitoring Valkey with Prometheus](https://daily.dev/posts/valkey-monitoring-valkey-with-prometheus-glygpdnfc) · Valkey · 1 upvotes · 0 comments
- [Redis by proxy: Percona targets the last major hurdle to Valkey adoption](https://daily.dev/posts/redis-by-proxy-percona-targets-the-last-major-hurdle-to-valkey-adoption-2moidtflx) · The New Stack · 0 upvotes · 0 comments
- [Valkey 9.0 Introduces Multi-Database Clustering, Atomic Slot Migration, and Major Performance Gains](https://daily.dev/posts/valkey-9-0-introduces-multi-database-clustering-atomic-slot-migration-and-major-performance-gains-2gkxrlley) · InfoQ · 7 upvotes · 0 comments
- [CubeJS export metrics to Prometheus from self-hosted Cube Store on Kubernetes with statsd exporter](https://daily.dev/posts/cubejs-export-metrics-to-prometheus-from-self-hosted-cube-store-on-kubernetes-with-statsd-exporter-xcc672hcq) · Medium · 0 upvotes · 0 comments
- [Kubernetes Monitoring Tools: What Actually Works at Scale](https://daily.dev/posts/kubernetes-monitoring-tools-what-actually-works-at-scale-zdg0bbpod) · Last9 · 2 upvotes · 0 comments

---

Tags: [#kubernetes](https://daily.dev/tags/kubernetes), [#observability](https://daily.dev/tags/observability), [#redis](https://daily.dev/tags/redis), [#prometheus](https://daily.dev/tags/prometheus), [#valkey](https://daily.dev/tags/valkey)

[View this post on daily.dev](https://daily.dev/posts/valkey-valkey-metrics-in-prometheus-redis-93jg7u5j6)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Valkey · Valkey Metrics in Prometheus: redis","url":"https://daily.dev/posts/valkey-valkey-metrics-in-prometheus-redis-93jg7u5j6","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/valkey-valkey-metrics-in-prometheus-redis-93jg7u5j6"},"datePublished":"2026-09-22T17:02:35.319Z","dateModified":"2026-09-22T17:02:57.410Z","description":"A practical guide to monitoring Valkey clusters using two complementary Prometheus exporters: redis_exporter, which runs as a Kubernetes sidecar giving per-pod...","image":"https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012","thumbnailUrl":"https://media.daily.dev/image/upload/s--58gMhC4P--/f_auto/v1722860399/public/Placeholder%2012","isAccessibleForFree":true,"articleSection":"Valkey","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Valkey","logo":"https://media.daily.dev/image/upload/s--XXPzEmD8--/f_auto,q_auto/v1787487496/logos/valkey-blog?_a=BAMAMicg0","url":"https://daily.dev/sources/valkey-blog"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/valkey-valkey-metrics-in-prometheus-redis-93jg7u5j6","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"kubernetes,observability,redis,prometheus,valkey","timeRequired":"PT3M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Valkey","item":"https://daily.dev/sources/valkey-blog"},{"@type":"ListItem","position":3,"name":"Valkey · Valkey Metrics in Prometheus: redis"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/valkey-valkey-metrics-in-prometheus-redis-93jg7u5j6#faq","mainEntity":[{"@type":"Question","name":"What metrics does BetterDB expose for Valkey that redis_exporter does not have an equivalent for?","acceptedAnswer":{"@type":"Answer","text":"BetterDB exposes per-slot statistics pulled from the CLUSTER SLOT-STATS command, including betterdb_cluster_slot_keys, betterdb_cluster_slot_reads_total, and betterdb_cluster_slot_writes_total, which redis_exporter has no equivalent for. It also exposes commandlog metrics like betterdb_commandlog_large_request and betterdb_commandlog_large_reply, which require Valkey 8.1+ since they have no Redis equivalent. Teams tuning cluster hotspots can track exporter capabilities like these through daily.dev."}},{"@type":"Question","name":"What Valkey version do I need to use CLUSTER SLOT-STATS with cluster-slot-stats-enabled?","acceptedAnswer":{"@type":"Answer","text":"Slot statistics require Valkey 8.0 or later, with the cluster-slot-stats-enabled configuration option turned on. Separately, commandlog metrics need Valkey 8.1 or later, and ACL-based metrics like betterdb_acl_denied depend on ACL LOG, which has been available since Valkey 6. Developers planning a Valkey upgrade can keep version-gated features like this straight via daily.dev."}},{"@type":"Question","name":"How do I get per-pod Valkey metrics separated by master and replica role in Prometheus?","acceptedAnswer":{"@type":"Answer","text":"Run redis_exporter with the --append-instance-role-label flag, which adds an instance_role label set to master or replica to its metrics. This makes it straightforward to filter or alert on primaries versus replicas separately when querying metrics like redis_memory_used_bytes or redis_connected_clients in PromQL. Anyone wiring up Valkey alerting can find configuration details like this through daily.dev."}}]}
```

