pgDash is a modern, comprehensive monitoring solution designed specifically for PostgeSQL deployments. pgDash lets you observe and track every aspect of your PostgreSQL database servers. pgDash provides core reporting and visualization functionality, including collecting and displaying PostgreSQL information and providing time-series graphs and detailed reports as well as alerting.
pgDash relies on pgmetrics for collecting metrics from Postgres servers. pgmetrics is an open-source, standalone utility. pgmetrics is a single, zero-dependency binary with a command-line syntax similar to psql. It can emit the data it collects either as a textual report, or as JSON. The JSON output can be used for scripting, and in this case, can be sent to pgDash. See pgmetrics.io for more information.