I would recommend https://github.com/Vonng/pg_exporter for some reasons: Support both Postgres & Pgbouncer Flexible: Almost all metrics are defined in customizable configuration files in SQL style. Fine-grained execution control: Tags Filter, Facts Filter, Version Filter, Timeout, Cache, etc.. Dynamic Planning: you could define multiple branches for a collecto. Queries matches server version & fact & tags will be actually executed. Configurable caching policy & query timeout Rich metrics about pg_exporter itself. Auto discovery multi-database in the same instance Tested and verified in real world production environment for 3+ years (200+ Nodes) The most important part is: it has a complete solution for monitoring & dashboards: Dashboards screenshots: https://github.com/Vonng/pigsty/raw/master/docs/_media/overview-monitor.jpg
|