Take a look at pgMonitor. It uses all open source components (Prometheus/Grafana) and is fully customizable to monitor any part of your application stack, not just PostgreSQL
I'm wanting to find a good open source monitoring & alerting tool for PostgreSQL, it needs to have near real time alerting so tools like PG Badger / PGCLUU are out. What are you all using?