Although there are many PostgreSQL monitoring solutions out there, most of them are sadly too complex to set up and too inflexible for you to extend the functionality yourself. However, PGWatch tries to change that by providing previously unavailable flexibility and concentrating on metrics gathering only, leaving the presentation side to the best dashboarding tool available.

PGWatch works as a remote metrics-gathering daemon, periodically connecting to the database as a normal user would, and reading out metrics provided by the Postgres statistics subsystem. This has the advantage that you don’t need any special user rights and you don’t have to install any extensions on the database server itself, making use in restricted environments (e.g. AWS RDS) possible.

PGWatch -Monitoring Tool


Main features of PGWatch

  • 1-minute installation with Docker (custom installations still possible)
  • Superb overview of all database activities from a single page
  • Easy extensibility by defining metrics in pure SQL
  • Intuitive metrics presentation using the Grafana dashboarding engine. Users can create their own graphs (in addition to predefined ones) with just a couple of clicks
  • Optional alerting (Email, Slack, PagerDuty) provided by Grafana
  • Open Source software – free to extend
  • PostgreSQL versions 9.0+ supported out of the box

More details

  • Built in web-based management interface for managing monitored databases and metrics
  • Many options for metrics storage – InfluxDB, PostgreSQL, Prometheus, Graphite
  • Optional basic security by user authentication
  • Optional “metrics fetching helper” stored procedures for reading out CPU load and pg_stat_statement info are provided
  • Logs for individual components are exposed over the web-based UI for easier troubleshooting

Visit our official website for further information:

Screenshot of the predefined “DB overview” dashboards


  1. start the Docker image with “docker run -d -p 3000:3000 -p 8080:8080 –name pw2 cybertec/pgwatch2”
  2. add your database to monitor via the management interface on port 8080
  3. wait a few minutes for the daemon to fetch data and then open Grafana on port 3000
  4.  enjoy!


Contact us!

PGWatch Download

The newest version of PGWatch can be downloaded from our GitHub page: