New: Cookbooks and AI ExplanationsStep-by-Step recipes to solve problems connected to Roadmaps and Cheat Sheets. Need more details? Use AI buttons for structured and simple explanations with concrete examples throughout the whole platform.Take a look
A CDC connector goes down quietly on a Friday, and by Monday your database is minutes from running out of disk space.
What you'll have at the end
A Prometheus alert that fires on a growing, inactive replication slot before the disk that holds it fills up
You need
A Postgres logical replication slot already feeding a running CDC connector, plus Prometheus already scraping that database through postgres_exporter and its host's disk through node_exporter.
Not covered
Setting a hard max_slot_wal_keep_size cap that force-invalidates the slot once it's crossed, or standing up the Prometheus and exporter stack from nothing.
Leans on
Take a CDC snapshot of a huge table without stalling the pipeline
when the safety cap or a dropped slot forces a full re-snapshot, that recipe covers taking one without stalling the pipeline
Keep a CDC consumer from doubling a row after it restarts
once the alert gets the connector restarted, that recipe covers making sure the restart doesn't reprocess changes already delivered
Checked 26 Aug 2026
Part of the Change Data Capture (CDC) cookbook