# cybertec-postgresql/pgwatch2

PostgreSQL metrics monitor/dashboard

Repository: https://github.com/cybertec-postgresql/pgwatch2
Canonical: https://ross.abutalabs.com/products/pgwatch2
Language: PLpgSQL
License: BSD-3-Clause
License Family: permissive
Topics: postgresql, postgres, monitoring, grafana, metrics, postgresql-metrics-monitor, metrics-gathering-daemon, dashboard, docker-setup, metrics-gatherer, pg-monitor
Archived: true
Last push: 2024-12-17T15:13:26+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3534, "days_push": 624, "days_rel": 674, "gap_med": null, "n_releases_24m": 1}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1836, forks 225 (observed 2026-08-28T04:05:42.700849+00:00)

## What it is
pgwatch2 is a self-contained PostgreSQL metrics monitoring and dashboarding solution that gathers statistics collector data and presents it via Grafana. It supports PostgreSQL versions 9.0 to 16, multiple metrics storage backends, and Docker-based deployment, though it is now archived in favor of the newer pgwatch project.

## Use cases
- monitor postgresql database performance metrics
- set up grafana dashboards for postgres statistics
- collect postgres metrics without superuser rights or extensions
- store postgres metrics in influxdb, prometheus, graphite or timescaledb
- alert on postgresql database health issues
- monitor many postgres instances from one place

## When to choose
- you need a self-contained, non-invasive postgres monitoring stack with pre-built grafana dashboards
- you want flexible SQL-defined custom metrics for postgres
- you prefer docker-based quick deployment of monitoring

## When to avoid
- you want active development and new features - use the successor pgwatch repository instead
- you need monitoring for databases other than postgresql
- you require a fully managed cloud monitoring service

## Facets
- artifact type: application
- maturity: maintenance
- function: monitoring, alerting, analytics
- domain: databases, monitoring, self-hosted
- platform: self-hosted
- tags: postgresql, grafana, metrics-gathering, timescaledb, influxdb, prometheus, dashboarding, devops, docker, linux, web-server

## Member repositories
- cybertec-postgresql/pgwatch2 (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:42.700849+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:18:28.343227+00:00, confidence not recorded.
  - readme: https://github.com/cybertec-postgresql/pgwatch2 (fetched 2026-08-28T04:05:42.700849+00:00, sha c2b6c3047247)
- Data as of 2026-08-30T08:39:29.467469+00:00.
