postgresql // watchdog

Connection
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

Connection monitoring

Thresholds for active/idle counts and stale sessions — configured in YAML or environment, not ad-hoc SQL scripts.

Alerting

Slack webhooks and Loki push when limits are exceeded — optional quiet modes for cron.

Operator-grade

Signed releases, packages for Linux/BSD, Helm and Compose paths in pgwd-selfhosted — built for DBAs and SREs.

Quick start

$ cp pgwd.sample.yml pgwd.yaml
$ pgwd watch --config pgwd.yaml

Operator examples: pgwd-selfhosted/run/examples

Repositories