Skip to content
P

Pgmetrics

Collect and display information and stats from a running PostgreSQL server

by rapidloopFree

#1950in Developer Tools
0In stores

Description

pgmetrics is an open-source command-line tool that collects and reports information and statistics from a running PostgreSQL server. It has…

Highlights

  • Collects 350+ PostgreSQL metrics
  • Text, JSON and CSV output
  • Works with RDS, Aurora, Azure, Citus and PgBouncer
  • Reads query plans and autovacuum events from logs
  • Single static binary, no extension needed

Ratings & Reviews

No ratings yet

Be the first to rate Pgmetrics.

People also visit

C

Collector

pganalyze statistics collector for gathering PostgreSQL metrics and log data

Developer Tools
Launch
P

PG Exporter

Advanced PostgreSQL & Pgbouncer Metrics Exporter for Prometheus

Developer Tools
Launch
P

PG Activity

pg_activity is a top like application for PostgreSQL server activity monitoring

Developer Tools
Launch
C

clickhouse-managed-postgres-rca

MUST USE when investigating performance issues on a ClickHouse-managed Postgres

AI Skills
Get
P

postgres-pro

Optimizing PostgreSQL queries, configuring replication

AI Skills
Get
P

pgweb

Simple web-based PostgreSQL database explorer

Developer Tools
Launch

Pgmetrics FAQ

What is pgmetrics?

A command-line tool that collects metrics from a running PostgreSQL server for troubleshooting, scripting and automation.

Do I need to install a PostgreSQL extension?

No. pgmetrics needs no PostgreSQL extension, and it uses the same command-line flags and environment variables as psql.

Which hosted databases does it support?

AWS RDS PostgreSQL, AWS RDS Aurora, Microsoft Azure, Citus, PgBouncer, Pgpool, Google Cloud SQL and Odyssey.

What output formats are there?

Readable text for people, and JSON and CSV for scripts.

Is it open source?

Yes. The project is developed on GitHub, and the latest release listed on the site is v1.19.0, released on 18 January 2026.

What are the best Pgmetrics alternatives?

Popular alternatives to Pgmetrics include Collector, PG Exporter and PG Activity. See all Pgmetrics alternatives

Developer Stuff

Badges