rapidloop/pgmetrics
Collect and display information and stats from a running PostgreSQL server observed · 2026-09-03
Health v2 · maintenance only
80/100
- Activity 100
- Release rhythm 42
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 111
- age_days: 3110
- days_rel: 227
- days_push: 0
- n_releases_24m: 4
Adoption not part of the score
1108 stars · 80 forks observed · 2026-09-03
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pgmetrics is a zero-dependency, single-binary Go CLI tool that collects 350+ metrics from a running PostgreSQL server and reports them in human-readable text, JSON, or CSV. It supports generic PostgreSQL as well as AWS RDS/Aurora, Azure, GCP SQL, Citus, PgBouncer, and Pgpool, and can parse PostgreSQL log files.
Use cases
- collect postgresql server metrics for troubleshooting
- export postgres stats as for scripting and automation
- check database bloat, vacuum status and cache hit ratios
- monitor replication lag and replication slots
- find blocked queries and long-running transactions
- extract slow queries and deadlocks from postgres log files
- gather metrics from aws rds or azure postgres without installing extensions
When to choose
- you need a lightweight, no-install, single-binary postgres diagnostics tool
- you want machine-readable (JSON/CSV) postgres metrics for automation pipelines
- you troubleshoot replication, vacuum, locks, or wraparound issues on postgres or managed cloud postgres
When to avoid
- you need continuous monitoring with dashboards and alerting rather than point-in-time collection
- you want a long-running metrics agent that ships to time-series storage
- you need non-PostgreSQL databases
Facets
cli-tool · maturity active
monitoring database cli developer-tools databases monitoring developer-tools windows cross-platform cli postgresql metrics-collection database-diagnostics single-binary -output csv-output aws-rds azure pgbouncer devops linux macos
4 sources
- readme: https://github.com/rapidloop/pgmetrics · fetched 2026-09-03 · e0c56d185de9
- homepage: https://pgmetrics.io · fetched 2026-08-29 · c01e0337870e
- site_page: https://pgmetrics.io/docs · fetched 2026-08-29 · f56b7d3e173f
- site_page: https://pgmetrics.io/docs/index.html · fetched 2026-08-29 · a2b9b977e3e8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rapidloop/pgmetrics | main | 80 |
For agents
markdown · JSON · MCP: product_card(name="rapidloop/pgmetrics")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem