Collects named counters from PostgreSQL backends in shared memory and exposes them through SQL metric functions.
pgext.cloud · Source code · Control file
| Package | pg_metrics |
|---|---|
| Version | 1.0 |
| Repository | Unspecified |
| Extension type | Preloaded |
| Requires CREATE EXTENSION | Yes |
| Requires preload | Yes |
| Trusted | No |
| Relocatable | Yes |
| Shared libraries | pg_metrics |
| Stars | 2 |
| Latest commit | 2016-09-22 |
| Catalogue updated | 2026-08-30 |
| pgmonitor | Collector-friendly metric views and background refresh worker |
| pg_mem_counters | Maintains named total and requests-per-minute counters in PostgreSQL shared memory. |
| query_histogram | Collects shared-memory histograms of statement and transaction runtimes through executor and utility hooks. |
| pgfr_record | Server-side PostgreSQL performance flight recorder |
| memstat | Memory context statistics for local and instance backends |
| dbstat | Collects exact table row counts and modification timing through SQL objects and a companion libpq process. |
| pgsampler | Experimental PostgreSQL background worker that collects time-series status and performance metrics. |
| pg_sessions | Tracks per-session SQL execution metrics and optional Linux process resource statistics in shared memory. |