BetterDB Monitor is a Valkey and Redis monitoring layer developed by BetterDB Inc., designed to persist data that Valkey normally discards, such as slow logs, command patterns, client activity, and anomaly signals, thereby helping users troubleshoot historical issues rather than only viewing the current state. It natively supports Valkey 8.x's COMMANDLOG, CLUSTER SLOT-STATS, and per-thread I/O metrics, and is compatible with other features in Redis 6+.
Main capabilities include: historical analysis, allowing queries of slow logs, command patterns, client activity, and latency over any time range; COMMANDLOG support (Valkey 8.1+), recording large requests and large replies; MONITOR capture sessions, supporting real-time tracking, filtering, replay, export to JSON/CSV, and cross-referencing with connection history; hot key tracking, showing top keys by access frequency and their ranking changes; Key Analytics (Pro, free during early access) adds type, TTL, and size distribution; cluster visibility, providing topology diagrams, SLOT-STATS heatmaps, and per-slot CPU and key distribution; cluster auto-registration, which can automatically register each node as an independent monitoring connection; CPU and I/O thread metrics; client analysis, attributing by client name and pattern; ACL audit trails, recording who accessed what, for compliance and post-incident debugging.
For understanding and action: anomaly detection (Pro, free during early access) automatically learns baselines, correlates events, and provides plain-language diagnostics, with more than 20 built-in detectors; capacity forecasting, predicting time to limit for memory, ops/sec, CPU, and fragmentation; Webhook, HMAC-signed alert delivery, supporting retries and complete delivery logs; live migration, migrating between Redis and Valkey through a three-phase analyze, execute, and verify workflow.
For the AI era: vector search observability, monitoring FT.SEARCH ops/sec and latency, as well as per-index health for valkey-search and RediSearch; inference latency, per-index p50/p95/p99, supporting SLA breach alerts (Pro, free during early access); semantic cache intelligence (Pro, free during early access), hit rate health, similarity threshold recommendations, and an approve/reject proposal workflow, including agent memory observability; AI tracing, receiving OTLP span waterfalls from AI applicationsand correlating them with the underlying real-time Valkey state.
Integrations: MCP server provides 60 tools, suitable for Claude Code, Cursor, or any MCP client; Prometheus endpoint exposes more than 100 betterdb_* metrics; OpenTelemetry supports receiving OTLP traces and mirroring metrics and events to any OTLP backend; REST API covers all UI functionality and is documented via OpenAPI.
Usage: Docker quick start, browser access http://localhost:3001;Kubernetes/Helm deployment; CLI run, with an interactive setup wizard on first run, and configuration saved to ~/.betterdb/config.json. Requires Node.js >= 20.0.0 and a Valkey or Redis instance. Storage backends support SQLite, PostgreSQL, or in-memory. Production Docker deployments require PostgreSQL persistence or in-memory storage. Supports connecting to databases in private subnets via SSH tunnels, supporting password or private key authentication, and can pin SSH host key fingerprints.
Licensing and air-gapped support: online license keys are set via BETTERDB_LICENSE_KEY; offline/air-gapped license tokens are provided via BETTERDB_OFFLINE_LICENSE_FILE, BETTERDB_OFFLINE_LICENSE, or the UI. In air-gapped mode there are no outbound requests. Persistence requires mounting a writable volume to /app/data, and the container runs as UID 1001.
Limitations: in cluster/Sentinel topologies, only the configured connection goes through the tunnel; other nodes connect directly, and if other nodes are only accessible via a bastion host, the per-node view is unavailable. Docker images do not include SQLite support.