postgresml / pgcat

PostgreSQL pooler with sharding, load balancing and failover support.
MIT License
3.12k stars 190 forks source link

Improve Prometheus stats + Add Grafana dashboard #785

Closed drdrsh closed 2 months ago

drdrsh commented 2 months ago

We were missing some labels on metrics generated by the Prometheus exporter so I fixed that. There are still some gaps that I want to address with respect to the metrics we track but this seems like a good start.

I also created a Grafana Dashboard and exported it to JSON. It is designed with the same metric names the Prometheus exporter uses.

Screenshot from 2024-08-31 06-00-14