Skip to content

BetterDB Agent v1.9.0

Choose a tag to compare

@KIvanow KIvanow released this 30 Nov 08:24
· 18 commits to master since this release
2f2f041

@betterdb/agent v1.9.0

  • OpenEverest mode (#760): --mode openeverest (or BETTERDB_AGENT_MODE=openeverest) runs the agent as the backend of the BetterDB plugin for OpenEverest. It serves the plugin's API and UI, watches the Valkey instances a user enabled, and streams every node of each instance to BetterDB, read-only. Install it with the betterdb-openeverest Helm chart; see docs/install/openeverest.md. It needs Monitor v0.57.0 or later. The default mode (single) is unchanged.
  • Read-only connections are enforced in the agent (#760): an OpenEverest connection refuses state-changing commands locally, even if the server asks for one.
  • Cluster mode is detected (#760): the agent read cluster_enabled from CLUSTER INFO, which never reports it, so every server looked standalone and the agent never advertised the CLUSTER capability. It now reads INFO cluster.
  • Reconnects (#754): when the server turns the agent away because another agent is using the same token, the agent logs a warning and waits 30 s before retrying, instead of retrying every second. With Monitor v0.57.0, an agent that reconnects before the server notices its old socket is gone stays registered.
  • Fewer error replies from key analytics (#645): the key scan sends TYPE once per batch, then only the matching size command and one of OBJECT IDLETIME / OBJECT FREQ. Before, a 10k-key scan caused about 60k WRONGTYPE/ERR replies, which raised error_replies alerts and inflated errorstat.
  • Image (#775): based on node:26-alpine (was node:20-alpine, which is end of life), with current Alpine patches, and without the bundled npm CLI. The musl CVE-2026-107891 is still present because no stable Alpine release fixes it yet.

Compatible with earlier monitors in single mode; no configuration changes.