blumeops/ansible/roles/postgresql/defaults
Erich Blume 8b701bb5aa Add PostgreSQL metrics collection and Grafana dashboard
- Add 'alloy' PostgreSQL user with pg_monitor role (read-only)
- Configure Alloy prometheus.exporter.postgres for metrics collection
- Password fetched from 1Password with no_log protection
- Add PostgreSQL Grafana dashboard with:
  - Connection stats (active, total, by state)
  - Database sizes
  - Tuple operations rate
  - Transaction rate (commits/rollbacks)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 08:18:54 -08:00
..
main.yml Add PostgreSQL metrics collection and Grafana dashboard 2026-01-16 08:18:54 -08:00