Documentation
¶
Overview ¶
Package postgres implements a read-only health check for PostgreSQL: it connects to each target and evaluates transaction-id wraparound risk, connection saturation, inactive replication slots retaining WAL, and — on a primary — replica lag. All queries are read-only; the check never runs DDL or writes.
Database access is abstracted behind the collector interface so the finding logic is unit-tested with a fake; the pgx-backed collector lives in pgx.go.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.