DevToolsDatabaseMonitoringCLI

Postgres Replication Slot Watcher

Monitor Postgres replication slots in your terminal to prevent disk-full outages

Problem
Teams using Postgres logical replication often face disk-full incidents when replication slots become inactive and retain WAL indefinitely. There is no lightweight, out-of-the-box terminal tool for monitoring; operators either write ad-hoc SQL or rely on heavy full-stack monitoring.
Solution
A CLI tool that connects to Postgres, shows real-time status of all replication slots, lag bytes, WAL retained, with threshold alerts and cleanup suggestions. Works in tmux or CI without deployment.
Users
Backend developers, DBAs, SREs using Postgres logical replication
MVP
Connect via URI or password; live table of slots with key metrics; compute disk impact from retained WAL; threshold highlights and desktop notifications; generate cleanup commands
Revenue
Open-core with paid team edition (multi-instance, alert integrations, audit logs) as annual subscription
Why now
Logical replication is common for CDC and multi-active setups, yet lightweight ops tooling is scarce; solo devs can build fast in Go/Rust

Source discussions · 1

  1. Hacker NewsShow HN: Slotwatch – watch Postgres replication slots from the terminal2↑ 0
← Back to list