Skip to content
Independent cybersecurity and IT infrastructure software research. 404Pulse does not sell software. Advertising disclosure
For software vendors →
404Pulse
  1. Home
  2. Software
  3. Database Monitoring and Performance
  4. pgwatch
Software profile Research-based

pgwatch by CYBERTEC PostgreSQL International GmbH

Open-source (BSD-3-Clause) PostgreSQL monitoring from CYBERTEC: a Go metrics collector with SQL-defined metrics, several storage sinks, a web UI and Grafana dashboards, self-hosted.

Pricing modelOpen sourceFree, BSD-3-Clause
DeploymentOn-premisesSelf-hosted: Docker, packages, binaries
Metric sinksPostgreSQL, TimescaleDB, PrometheusPlus JSON files and custom gRPC
Business sizeAll sizesAny PostgreSQL estate
Last verifiedNov 26, 2026View sources below
This is a research-based profile compiled from CYBERTEC PostgreSQL International GmbH's official website and documentation, last verified Nov 26, 2026. It is not a hands-on review. We verified that each statement appears on the vendor's official pages; wording such as "the vendor says" marks the vendor's own claims, which we have not tested. Features and pricing change, so confirm details with the vendor.

pgwatch is an open-source monitoring tool built only for PostgreSQL, published by CYBERTEC PostgreSQL International GmbH under the BSD-3-Clause licence. Its collector, written in Go, runs SQL queries against monitored databases on a schedule, stores the results in a metrics database and presents them in ready-made Grafana dashboards. The current release line is v6; v6.2.0 was released in November 2026.

It is aimed at database administrators and platform teams who run PostgreSQL themselves or on managed services and want a free, self-hosted way to watch database health, query performance, index usage, disk I/O, CPU and memory, and locks and waits. Every metric is a named SQL query, grouped into presets such as basic and exhaustive, so teams can add their own metrics without changing code. The collector chooses the right query version for each PostgreSQL major version and for primary or standby roles.

Beyond plain PostgreSQL, pgwatch monitors Patroni clusters, PgBouncer and PgPool, and pgBackRest and WAL-G backups, and it ships presets for Amazon RDS and Aurora, Google Cloud SQL and Azure Database for PostgreSQL. Metrics can be written to PostgreSQL, TimescaleDB, Prometheus, JSON files or a custom gRPC backend. Alerting is handled by Grafana's own alerting on the stored metrics rather than by pgwatch.

Key takeaways

  • PostgreSQL-only monitoring, open source under BSD-3-Clause, with no paid edition.
  • Metrics are SQL queries grouped into presets; custom metrics need only SQL.
  • Stores metrics in PostgreSQL, TimescaleDB, Prometheus, JSON or gRPC sinks, visualized in Grafana.
  • Presets for RDS, Aurora, Cloud SQL and Azure, plus Patroni, PgBouncer and PgPool sources.
  • Self-hosted only; alerting relies on Grafana.

Key features

SQL-defined metricsEach metric is a named SQL query, versioned by PostgreSQL major version and by primary or standby role; custom metrics only need a query that returns the right columns.
PresetsNamed sets of metrics and intervals, such as basic and exhaustive, applied to many databases, with per-source interval overrides.
Out-of-the-box coverageDatabase health, query performance, index usage, disk I/O, CPU and memory, and locks and waits.
Multiple storage sinksWrites metrics to PostgreSQL, TimescaleDB, Prometheus, JSON files or a custom gRPC backend.
Grafana dashboardsShips dashboards for inspecting metrics and trends, including an unprivileged variant for non-superuser roles on managed services.
Web UI and config optionsA built-in web UI adds databases to monitoring; configuration lives in a central config database or, for decentralized collectors, in YAML files.
Ecosystem sourcesMonitors Patroni clusters, PgBouncer and PgPool, and pgBackRest and WAL-G backups, besides PostgreSQL itself.
Managed PostgreSQL presetsPresets for Amazon RDS and Aurora, Google Cloud SQL and Azure Database for PostgreSQL, with OS metrics taken from each cloud's Grafana data source.
Alerting through GrafanaAlert rules are built in Grafana on panels backed by pgwatch metrics, with contact points such as Slack, PagerDuty, email or webhooks.

Technical details

DeploymentSelf-hostedDocker image and ComposeKubernetes (how-to guide)
Packagesdeb (apt)rpmLinux, macOS and Windows archives
Monitored sourcesPostgreSQLPatroniPgBouncerPgPoolpgBackRestWAL-G
Managed servicesAmazon RDSAmazon AuroraGoogle Cloud SQLAzure Database for PostgreSQLAiven
Metric sinksPostgreSQLTimescaleDBPrometheusJSONgRPC
RequirementsPostgreSQL 14+ for config and metrics DBGrafana 13+
LicenceBSD-3-Clause

Pricing

pgwatch is free and open source under the BSD-3-Clause licence. No paid edition or pricing page is published for it.

pgwatchFree (BSD-3-Clause)Full collector, web UI, presets and Grafana dashboards, self-hosted.

Source: pgwat.ch, checked November 2026. Prices can change; confirm with the vendor.

Advantages and limitations

Advantages

  • Free under a permissive BSD-3-Clause licence.
  • Custom metrics need only SQL, with version-aware query selection.
  • Choice of storage backends, including Prometheus and TimescaleDB.
  • Covers Patroni, PgBouncer, PgPool and backup tools as well as PostgreSQL.

Limitations

  • PostgreSQL only; other database engines are not monitored.
  • Self-hosted: you run the collector, metrics database and Grafana.
  • No built-in alerting; alerts are configured in Grafana.
  • Python-based OS helper metrics do not work on managed services.

Suitable use cases

  • Self-hosted PostgreSQL fleetsWatching health and performance across many PostgreSQL servers from one Grafana.
  • Managed PostgreSQLMonitoring RDS, Aurora, Cloud SQL or Azure databases with provider presets.
  • Patroni and pooler stacksCovering Patroni clusters and PgBouncer or PgPool alongside the databases.
  • Prometheus-based observabilityFeeding PostgreSQL metrics into an existing Prometheus and Grafana stack.

Things to check before you choose

  • Whether you only need PostgreSQL coverage or several database engines.
  • Which sink fits your stack: PostgreSQL, TimescaleDB or Prometheus.
  • Whether Grafana alerting is enough for your on-call process.
  • Whether your managed service supports the pg_monitor role and the needed settings.
  • Who will run and upgrade the collector, metrics database and Grafana.
pganalyze by pganalyze (Duboce Labs, Inc.)
Database Monitoring and Performance

PostgreSQL performance monitoring and optimization service with query, index and VACUUM advisors, EXPLAIN plan analysis and log insights.

Published pricing Cloud, On-premises, Hybrid Small business, Mid-market, Enterprise
Database Monitoring and Performance

Open-source monitoring, query analytics and management for MySQL, PostgreSQL, MongoDB and Valkey/Redis, self-hosted with a server and client agents.

Open source On-premises, Hybrid Small business, Mid-market, Enterprise
ClusterControl by Severalnines AB
Database Monitoring and Performance

Self-hosted database operations platform from Severalnines that deploys, monitors, backs up and fails over open-source and SQL Server clusters from one console.

Free tier On-premises Small business, Mid-market, Enterprise
DBmarlin by Application Performance Ltd
Database Monitoring and Performance

Self-hosted database performance monitoring that captures SQL text and wait states across 12 database engines and Azure, Amazon RDS and Google Cloud SQL services.

Free tier On-premises Small business, Mid-market, Enterprise
Redgate Monitor by Redgate
Database Monitoring and Performance

Multi-platform database monitoring and alerting for SQL Server, PostgreSQL, Oracle, MySQL and MongoDB estates, available self-hosted or as SaaS.

Published pricing Cloud, On-premises, Hybrid Small business, Mid-market, Enterprise

More in database performance monitoring

Other database performance monitoring products in the directory. They share this subcategory but are not necessarily direct alternatives.

Releem by Releem, Inc.
Database Monitoring and Performance

Hosted database performance advisor for MySQL, MariaDB, Percona Server and PostgreSQL that monitors servers through an open-source agent and recommends configuration, query and index changes.

Published pricing Cloud Small business, Mid-market
dbWatch Control Center by dbWatch AS
Database Monitoring and Performance

Self-installed database monitoring and management for Oracle, SQL Server, PostgreSQL, MySQL, MariaDB, Sybase ASE and MongoDB, with optional performance, maintenance and compliance packages.

Quote-based On-premises, Hybrid Mid-market, Enterprise
SolarWinds SQL Sentry by SolarWinds
Database Monitoring and Performance

Self-hosted performance monitoring for Microsoft SQL Server, Azure SQL Database and SQL Server Analysis Services, with Top SQL, deadlock and blocking analysis.

Quote-based On-premises Mid-market, Enterprise

Frequently asked questions

Is pgwatch free and open source?

Yes. The LICENSE file in the official repository is the BSD 3-Clause License, copyright CYBERTEC PostgreSQL International GmbH. No paid edition is published.

Which databases does pgwatch monitor?

PostgreSQL only, including managed services such as Amazon RDS and Aurora, Google Cloud SQL and Azure Database for PostgreSQL. It also monitors Patroni, PgBouncer, PgPool, pgBackRest and WAL-G.

Where does pgwatch store metrics?

In a sink of your choice: PostgreSQL, TimescaleDB, Prometheus, JSON files or a custom gRPC backend. The configuration and metrics databases need PostgreSQL 14 or newer.

Does pgwatch send alerts?

Not by itself. The documentation wires Grafana's built-in alerting to the stored metrics, with contact points such as Slack, PagerDuty, email or webhooks.

How is pgwatch installed?

The README recommends the cybertecpostgresql/pgwatch Docker image for production. Packages are available for apt and rpm, release archives cover Linux, macOS and Windows, and the docs include a Kubernetes guide.

Research sources

Last verified Nov 26, 2026Report a correction