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 $ pgwd --print-sample-config > ./pgwd.conf # adjust $ pgwd -config ./pgwd.conf -dry-run -interval 0
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.

Operator examples:pgwd-selfhosted/run/examples
| Repo | Role |
|---|---|
| hrodrig/pgwd | CLI, releases, container image, README |
| hrodrig/pgwd-selfhosted | Docker Compose, Helm, cron, examples |