Connection monitoring
Thresholds for active/idle counts and stale sessions — configured in YAML or environment, not ad-hoc SQL scripts.
postgresql // watchdog
Monitor active and idle connections, detect stale sessions, and alert via Slack or Loki — self-hosted Go CLI.
curl -fsSL https://get.pgwd.hermesrodriguez.com/install.sh | sh
Thresholds for active/idle counts and stale sessions — configured in YAML or environment, not ad-hoc SQL scripts.
Slack webhooks and Loki push when limits are exceeded — optional quiet modes for cron.
Signed releases, packages for Linux/BSD, Helm and Compose paths in pgwd-selfhosted — built for DBAs and SREs.
$ cp pgwd.sample.yml pgwd.yaml $ pgwd watch --config pgwd.yaml
Operator examples: pgwd-selfhosted/run/examples
| Repo | Role |
|---|---|
| hrodrig/pgwd | CLI, releases, container image, README |
| hrodrig/pgwd-selfhosted | Docker Compose, Helm, cron, examples |