Monitoring PostgreSQL with Prometheus and Grafana
Collecting PostgreSQL metrics with postgres_exporter: a least-privilege monitoring role, sidecar versus multi-target deployment, the metrics that matter, Grafana dashboards and exporter overhead.

Metrics, logs and alerts for self-hosted PostgreSQL with Prometheus, Grafana, OpenTelemetry, Zabbix and log analysis tools.
Collecting PostgreSQL metrics with postgres_exporter: a least-privilege monitoring role, sidecar versus multi-target deployment, the metrics that matter, Grafana dashboards and exporter overhead.
Running pgwatch as a dedicated PostgreSQL monitoring stack: metric presets, storage options, Grafana dashboards and when it suits better than a general Prometheus setup.
Scraping PostgreSQL with the OpenTelemetry Collector postgresql receiver: permissions, metric stability levels, sending data to your existing backend and correlating with application traces.
Using Zabbix's official PostgreSQL templates: agent, agent 2 or ODBC, the monitoring user, discovered databases and triggers, and tuning thresholds to cut alert noise.
Measuring how far standbys trail the primary: write, flush and replay lag in pg_stat_replication, byte lag from LSNs, logical replication and slot lag, and alert thresholds tied to RPO.
Turning PostgreSQL logs into reports with pgBadger: log_line_prefix and logging settings it needs, incremental reports, reading slow query, lock and checkpoint sections, and log volume costs.
Choosing what PostgreSQL should log: slow statements, lock waits, autovacuum, connections, auto_explain plans, log rotation and shipping to a SIEM without logging sensitive values.
A practical PostgreSQL alert set: availability, replication lag, transaction ID age, disk and WAL growth, connection saturation, long transactions, failed archiving and backup age, with severity guidance.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.