PGBouncer integration metrics
The official Datadog integration for monitoring PGBouncer. It collects 44 metrics.
Official summary
Track connection pool metrics and monitor traffic to and from your application.
Metric types
- gauge (value at a point in time): 37
- rate (per second): 7
Metrics
Descriptions are the official definitions, unedited.
| Metric | Type | Unit |
|---|---|---|
pgbouncer.When the connection was made (seconds since epoch) | gauge | second |
pgbouncer.The number of prepared statements that the client has prepared | gauge | query |
pgbouncer.When last request was issued (seconds since epoch) | gauge | second |
pgbouncer.Current waiting time in seconds | gauge | second |
pgbouncer.The microsecond portion of the current waiting time | gauge | microsecond |
pgbouncer.Current number of connections for this database | gauge | connection |
pgbouncer.Maximum number of allowed connections | gauge | connection |
pgbouncer.Maximum number of server connections | gauge | connection |
pgbouncer.The maximum number of client connections allowed. | gauge | connection |
pgbouncer.Client connections linked to server connection and able to process queries | gauge | connection |
pgbouncer.Client connections waiting on a server connection | gauge | connection |
pgbouncer.How long the first (oldest) client in the queue has waited, in seconds | gauge | second |
pgbouncer.Microsecond part of the maximum waiting time | gauge | microsecond |
pgbouncer.Server connections linked to a client connection | gauge | connection |
pgbouncer.Server connections idle and ready for a client query | gauge | connection |
pgbouncer.Server connections currently in the process of logging in | gauge | connection |
pgbouncer.Server connections currently running either server_reset_query or server_check_query | gauge | connection |
pgbouncer.Server connections idle more than server_check_delay, needing server_check_query | gauge | connection |
pgbouncer.When the connection was made (seconds since epoch) | gauge | second |
pgbouncer.The number of prepared statements that are prepared on the server, limited by the max_prepared_statements setting | gauge | query |
pgbouncer.When last request was issued (seconds since epoch) | gauge | second |
pgbouncer.The average number of prepared statements readied for execution by clients and forwarded to PostgreSQL per second in last stat period | gauge | query/ |
pgbouncer.The average number of prepared statements created by clients per second in last stat period | gauge | query/ |
pgbouncer.The average query duration | gauge | microsecond |
pgbouncer.The average number of queries per second in last stat period | gauge | query/ |
pgbouncer.The average query duration | gauge | microsecond |
pgbouncer.The client network traffic received | gauge | byte/ |
pgbouncer.The average number of requests per second in last stat period | gauge | request/ |
pgbouncer.The client network traffic sent | gauge | byte/ |
pgbouncer.The average number of prepared statements created by pgbouncer on a server per second in last stat period | gauge | query/ |
pgbouncer.The average number of transactions per second in last stat period | gauge | transaction/ |
pgbouncer.The average transaction duration | gauge | microsecond |
pgbouncer.Time spent by clients waiting for a server, in microseconds (average per second) | gauge | microsecond |
pgbouncer.The rate of prepared statements readied for execution by clients and forwarded to PostgreSQL | gauge | query/ |
pgbouncer.The total network traffic received | rate | byte/ |
pgbouncer.The total network traffic sent | rate | byte/ |
pgbouncer.The rate of prepared statements created by clients | gauge | query/ |
pgbouncer.The query rate | rate | query/ |
pgbouncer.The request rate | rate | request/ |
pgbouncer.The rate of prepared statements created by pgbouncer on a server | gauge | query/ |
pgbouncer.Time spent by pgbouncer actively querying PostgreSQL | rate | microsecond |
pgbouncer.Time spent by pgbouncer in transactions | rate | microsecond |
pgbouncer.Time spent by clients waiting for a server, in microseconds | gauge | microsecond |
pgbouncer.The transaction rate | rate | transaction/ |
Official documentation
Metric names and descriptions are the official Datadog integration definitions (Copyright Datadog, Inc., BSD-3-Clause), reproduced unedited. The full license terms are on the About page.