Skip to content

BetterDB-inc/monitor

v0.30.0 Feature

This release adds 3 notable features for engineering teams evaluating rollout.

Published 4d Monitoring & Metrics
✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

prometheus monitoring obsevability redis valkey

Summary

AI summary

Updates ✨ Features, ⬆ Upgrade notes, and Raft across a mixed release.

Full changelog

Valkey Cluster V2 (Raft) health monitoring — quorum-loss and leadership-churn detection, plus a live Raft Health panel.

✨ Features

  • Cluster V2 (Raft) health detection. The anomaly engine now understands Valkey's Raft-based clustering (cluster-protocol raft) and watches the two failure modes that mode is uniquely prone to:
    • Quorum loss / no reachable leader (CRITICAL). Calibrated against a live 3-node Raft cluster: a node that has lost its majority keeps reporting cluster_state:ok (its slots stay "covered") and never inflates its term (pre-vote), so cluster_state is not a reliable signal. The detector instead keys on the node repeatedly seeking a leader it can't elect (candidate/pre-candidate) while its commit index stays frozen. Detection windows are derived from the cluster's cluster-node-timeout, so they hold across any tuning, and a healthy failover or a one-off election blip is correctly ignored. Incidents auto-resolve when quorum returns and stay pinned (surviving a dismiss) while the outage is live.
    • Election churn (WARNING). Repeated completed elections (term climbing) in a short window flag flapping leadership from an unstable/overloaded primary or a split network.
  • Cluster Overview → "Cluster V2 · Raft Health" panel. Shows the connected node's Raft role, current term, commit / last-applied / log-entries progress (with an apply-lag callout), and the elected leader. It self-hides on legacy gossip clusters, surfaces "Electing" while a node is seeking a leader, distinguishes a slot/serving cluster_state:fail from a true "no quorum", and pins the live outage from the authoritative detector.
  • Critical "Raft cluster has lost quorum" banner on the Anomaly dashboard, with a Raft-specific remediation runbook (majority math, don't force-promote, don't wipe survivors), plus a friendly "Raft Health" metric label.
  • Gossip-mode gating. On a Raft cluster the gossip-era topology detectors (duplicate-primary #2261, stuck-replica #2090) are skipped — topology is consensus-managed there — while remaining fully active on classic gossip clusters, even across transient CLUSTER INFO blips.
  • OTLP telemetry mirroring (#319). The monitor can mirror its existing Prometheus metrics and discrete monitoring events to an OTLP endpoint. Opt-in and no-op unless OTEL_EXPORTER_OTLP_ENDPOINT / OTEL_TELEMETRY_ENABLED are set.
  • Agent Memory consolidate() modes (#324). consolidate() now takes a required mode: 'summary' | 'facts', surfaces unmatched tombstones, and ships recall tuning. (Also released standalone as agent-memory-v0.7.0.)

⬆ Upgrade notes

  • Fully backwards compatible; no config changes. On non-Raft (gossip/standalone) deployments nothing changes.
  • Raft health detection runs inside the anomaly engine, which is a Pro/Enterprise feature — it activates with a valid license; Community builds are unaffected.
  • OTLP mirroring is off by default — enable it only via the OTEL_* env vars above.
  • Docker: betterdb/monitor:0.30.0

Full Changelog: https://github.com/BetterDB-inc/monitor/compare/v0.29.0...v0.30.0

What's Changed

  • feat(otel): mirror Prometheus metrics + discrete events to OTLP by @jamby77 in https://github.com/BetterDB-inc/monitor/pull/319
  • feat(agent-memory): merge consolidate() modes, surface unmatched tombstones, tune recall by @KIvanow in https://github.com/BetterDB-inc/monitor/pull/324
  • feat(anomaly): Raft cluster (Cluster V2) health detection + gossip-mode gating by @KIvanow in https://github.com/BetterDB-inc/monitor/pull/326

Full Changelog: https://github.com/BetterDB-inc/monitor/compare/v0.29.0...v0.30.0

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track BetterDB-inc/monitor

Get notified when new releases ship.

Sign up free

About BetterDB-inc/monitor

Valkey-first observability with Redis compatibility. Query real-time metrics, analyze slow commands, detect hot keys, and investigate performance issues directly from AI coding assistants.

All releases →

Related context

Earlier breaking changes

  • vagent-cache-py-v0.7.0 Cache keys changed for tool-using requests on the LlamaIndex adapter; existing cached entries will miss once after upgrade.
  • vagent-cache-v0.7.0 Cache keys for tool-using requests changed on Vercel and LlamaIndex adapters; existing entries become one-time misses.
  • vagent-v1.5.0 TLS is now mandatory; agent exits with error if `--valkey-tls true` is not set for IAM auth mode.

Beta — feedback welcome: [email protected]