PGBouncer Metrics

See Application Integrations for more information.

pgbouncer.pools.cl_active

The number of client connections linked to a server connection and able to process queries.

pgbouncer.pools.cl_waiting

The number of client connections waiting on a server connection.

pgbouncer.pools.maxwait

The age of the oldest unserved client connection.

pgbouncer.pools.sv_active

The number of server connections linked to a client connection.

pgbouncer.pools.sv_idle

The number of server connections idle and ready for a client query.

pgbouncer.pools.sv_login

The number of server connections currently in the process of logging in.

pgbouncer.pools.sv_tested

The number of server connections currently running either server_reset_query or server_check_query.

pgbouncer.pools.sv_used

The number of server connections idle more than server_check_delay, needing server_check_query.

pgbouncer.stats.avg_query

The average query duration.

pgbouncer.stats.avg_recv

The average amount of client network traffic received.

pgbouncer.stats.avg_req

The average number of requests per second in the last stat period.

pgbouncer.stats.avg_sent

The average amount of client network traffic sent.

pgbouncer.stats.bytes_received_per_second

The total network traffic received.

pgbouncer.stats.bytes_sent_per_second

The total network traffic sent.

pgbouncer.stats.requests_per_second

The request rate.

pgbouncer.stats.total_query_time

The time spent by PgBouncer actively querying PostgreSQL.