Skip to content

BetterDB Monitor v0.6.0

Choose a tag to compare

@KIvanow KIvanow released this 26 Feb 10:59
· 285 commits to master since this release
33a302b

Highlights

BetterDB Monitor v0.6.0 is a landmark release. You can now monitor Valkey and Redis instances running in private VPCs -- including AWS ElastiCache and MemoryDB -- without exposing them to the public internet. Deploy a lightweight agent in your network and get full visibility in seconds. This release also introduces BetterDB Cloud, a fully managed option so you can skip self-hosting entirely.

What's New

BetterDB Cloud

A fully managed version of BetterDB Monitor is now available. Sign up with Google or GitHub, create a workspace, invite your team, and start monitoring - no infrastructure to manage.

  • Sign up and start monitoring in under a minute
  • Invite team members by email to collaborate on shared dashboards
  • Each workspace is fully isolated with dedicated resources
  • Connect databases in private networks using the agent (see below)

Visit betterdb.com to get started.

Monitor Databases in Private VPCs

A new lightweight agent lets you monitor Valkey and Redis instances that aren't publicly accessible - such as AWS ElastiCache, MemoryDB, or any database behind a firewall.

Deploy the agent in your VPC and it establishes a secure outbound WebSocket tunnel to BetterDB. No inbound ports, no VPC peering, no security group changes. The agent enforces a strict command whitelist — only read-only monitoring commands are allowed (e.g., INFO, SLOWLOG, CLIENT LIST), and destructive operations like FLUSHALL, SHUTDOWN, or CONFIG SET are blocked entirely.

docker run -d \
  --name betterdb-agent \
  -e VALKEY_HOST=your-elasticache-endpoint \
  -e VALKEY_PORT=6379 \
  -e BETTERDB_CLOUD_URL=wss://your-workspace.betterdb.com/agent/ws \
  -e BETTERDB_TOKEN=your-token \
  betterdb/agent:latest

Or run without Docker:

npx betterdb-agent \
  --valkey-host your-elasticache-endpoint \
  --valkey-port 6379 \
  --cloud-url wss://your-workspace.betterdb.com/agent/ws \
  --token your-token

Generate and manage agent tokens directly from the connection selector in the UI.

Graceful Degradation

When monitoring managed services that restrict certain commands (e.g., ElastiCache blocking SLOWLOG, CLIENT LIST, or ACL LOG), BetterDB now handles this gracefully. Instead of crashing or showing errors, each feature degrades independently - unavailable sections are clearly marked in the UI while everything else continues working normally.

Improved Cluster Visualization

The cluster node graph now pre-calculates positions for a more stable layout. Dragging nodes no longer causes the rest of the graph to jump around.

Slow Log and Command Log

  • SQLite users now have full command log support (previously only available with PostgreSQL)
  • Pattern analysis correctly isolates data per connection

Bug Fixes

  • Page refreshes in production no longer show a blank page (SPA routing fixed)
  • API 404 responses now return JSON instead of HTML
  • Cluster metrics collection is no longer disrupted when slot stats are unavailable
  • Slow log unavailable overlay now correctly references both SLOWLOG and COMMANDLOG
  • Various fixes to Docker and npx instructions shown in the agent setup UI

Security

  • Agent command executor enforces subcommand restrictions (e.g., only CONFIG GET is allowed, not bare CONFIG)
  • CI pipeline hardened against script injection via environment variables

Breaking Changes

  • API docs endpoint moved from /api/docs to /docs
  • Version check interval default changed from 6 hours to 1 hour (configurable via VERSION_CHECK_INTERVAL_MS)

Upgrade Guide

Self-Hosted (Docker)

docker pull betterdb/monitor:0.6.0

All existing configurations are fully backwards compatible. No changes needed.

Cloud

Visit betterdb.com to create a free workspace.

What's Changed

  • basic CLA added by @KIvanow in #25
  • Change CLA branch from 'master' to 'cla-signatures' by @KIvanow in #26
  • fix: pre-calculate cluster node positions and reduce drag disturbance by @Shanb007 in #23
  • Command slowlog polling changes by @KIvanow in #29
  • build(deps): bump axios from 1.13.2 to 1.13.5 by @dependabot[bot] in #21
  • feat: Cloud-version support with multi-tenant provisioning, agent connectivity, and workspace management by @KIvanow in #30

New Contributors

Full Changelog: v0.5.0...v0.6.0