github cybertec-postgresql/pgwatch v6.0.0

3 hours ago

pgwatch v6 is here πŸŽ‰

The biggest release since v5 β€” full Postgres v19 support, a new source type, fully modernized dashboards, and a reaper core built for reliability at scale.

The big three

πŸ”Œ Prometheus as a source. pgwatch can now scrape your existing Prometheus endpoints (patroni, postgres_exporter, etc.) directly β€” no need to stand up native connections everywhere. Mix and match Postgres and Prometheus sources in the same setup.

πŸ“Š Dashboards, reimagined. Every dashboard has been rebuilt on Grafana's new v13 schema with a unified row layout β€” cleaner, faster, and wall-display ready. Prometheus now gets first-class dashboard parity with Postgres, including brand-new Lock Details, Server Log Events, and Stored Procedures views.

βš™οΈ A reaper that doesn't choke under load. The collection core no longer runs one goroutine per (source Γ— metric) β€” it runs one per source, waking on a shared tick and sending every due metric in a single round-trip. On a six-source test run that removes 414 goroutines, cuts steady-state allocation by 8–9Γ—, and drops GC CPU by roughly 3Γ—. Around it, the per-source sweep in the main loop is now bounded-parallel (32 at a time) on every refresh, every database round-trip has a deadline, and continuous discovery is served from a last-known-good cache when it fails. Translation: one wedged database can no longer stall the fleet, and a restart is no longer the fix.

Also worth knowing

  • WebUI modernized to React 19 + MUI v9
  • New metrics: recovery, stat_lock, settings_num, autovacuum_scores, plus stats_reset tracking across table/index/sproc stats
  • Fixed: graceful sink outage handling, SourceReaper deadlocks, NaN/Inf sanitization in measurements, replication lag panel bugs
  • Security: JWT secret is now randomly generated at startup, not hardcoded
  • Postgres support bumped to v19
  • New Task build tool support for contributors

What's Changed

New Contributors

Full Changelog: v5.3.0...v6.0.0

What to do next?

Don't miss a new pgwatch release

NewReleases is sending notifications on new releases.