{"id":40684482,"url":"https://github.com/larseen/pgbouncer_exporter","last_synced_at":"2026-01-21T10:41:20.188Z","repository":{"id":57626242,"uuid":"89092236","full_name":"larseen/pgbouncer_exporter","owner":"larseen","description":"Prometheus exporter for PgBouncer","archived":false,"fork":false,"pushed_at":"2019-06-24T14:14:22.000Z","size":19,"stargazers_count":22,"open_issues_count":6,"forks_count":14,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-09-10T10:27:55.523Z","etag":null,"topics":["go","monitoring","pgbouncer","prometheus","prometheus-exporter"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/larseen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-22T18:55:19.000Z","updated_at":"2023-05-25T17:51:49.000Z","dependencies_parsed_at":"2022-08-31T07:11:23.807Z","dependency_job_id":null,"html_url":"https://github.com/larseen/pgbouncer_exporter","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/larseen/pgbouncer_exporter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larseen%2Fpgbouncer_exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larseen%2Fpgbouncer_exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larseen%2Fpgbouncer_exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larseen%2Fpgbouncer_exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/larseen","download_url":"https://codeload.github.com/larseen/pgbouncer_exporter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/larseen%2Fpgbouncer_exporter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28631946,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["go","monitoring","pgbouncer","prometheus","prometheus-exporter"],"created_at":"2026-01-21T10:41:19.491Z","updated_at":"2026-01-21T10:41:20.177Z","avatar_url":"https://github.com/larseen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PgBouncer exporter\n\nPrometheus exporter for PgBouncer.\nExports metrics at `9127/metrics`\n\n## Building and running\n\n    make\n    ./pgbouncer_exporter \u003cflags\u003e\n\nTo see all available configuration flags:\n\n    ./pgbouncer_exporter -h\n\n\n## Metrics\n\nMetric     | Description\n---------|-------------\nstats.avg_query_count | Average queries per second in last stat period\nstats.avg_query | The average query duration, shown as microsecond\nstats.avg_query_time | Average query duration in microseconds\nstats.avg_recv | Average received (from clients) bytes per second\nstats.avg_req | The average number of requests per second in last stat period, shown as request/second\nstats.avg_sent | Average sent (to clients) bytes per second\nstats.avg_wait_time | Time spent by clients waiting for a server in microseconds (average per second)\nstats.avg_xact_count | Average transactions per second in last stat period\nstats.avg_xact_time | Average transaction duration in microseconds\nstats.bytes_received_per_second | The total network traffic received, shown as byte/second\nstats.bytes_sent_per_second | The total network traffic sent, shown as byte/second\nstats.total_query_count | Total number of SQL queries pooled\nstats.total_query_time | Total number of microseconds spent by pgbouncer when actively connected to PostgreSQL, executing queries\nstats.total_received | Total volume in bytes of network traffic received by pgbouncer, shown as bytes\nstats.total_requests | Total number of SQL requests pooled by pgbouncer, shown as requests\nstats.total_sent | Total volume in bytes of network traffic sent by pgbouncer, shown as bytes\nstats.total_wait_time | Time spent by clients waiting for a server in microseconds\nstats.total_xact_count | Total number of SQL transactions pooled\nstats.total_xact_time | Total number of microseconds spent by pgbouncer when connected to PostgreSQL in a transaction, either idle in transaction or executing queries\npools.cl_active | Client connections linked to server connection and able to process queries, shown as connection\npools.cl_waiting | Client connections waiting on a server connection, shown as connection\npools.sv_active | Server connections linked to a client connection, shown as connection\npools.sv_idle | Server connections idle and ready for a client query, shown as connection\npools.sv_used | Server connections idle more than server_check_delay, needing server_check_query, shown as connection\npools.sv_tested | Server connections currently running either server_reset_query or server_check_query, shown as connection\npools.sv_login | Server connections currently in the process of logging in, shown as connection\npools.maxwait | Age of oldest unserved client connection, shown as second\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarseen%2Fpgbouncer_exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flarseen%2Fpgbouncer_exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flarseen%2Fpgbouncer_exporter/lists"}