Thanks to all the people who pitched in with bug reports, suggestions and patches! Keep it coming!
About pgmetrics
pgmetrics is an open-source, zero-dependency, single-binary tool that can collect 350+ metrics from a running PostgreSQL server and display it in easy-to-read text format or export it as JSON and CSV for scripting. It also supports collection from various managed PostgreSQL services (AWS, Azure, GCP) as well as from Citus, PgBouncer and Odyssey.