psycopg_pool_prometheus¶
Expose psycopg pool’s metrics to Prometheus.
- psycopg_pool_prometheus.register(pool: psycopg_pool.pool.ConnectionPool | psycopg_pool.pool_async.AsyncConnectionPool) None ¶
Register a posycopg_pool.Pool with prometheus_client.