-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How does this work? #60
Comments
@zilti Have you found the way to get it working..? |
Use latest version and it works. Just set up pgbouncer.ini with
This enable the user pgbouncer to connect to pgbouncer database and execute queries. And now execute pgbouncer_exporter on same server
|
It seems that the slightly more secure |
Hi Team, Can someone help me here ? Getting the same error even after using latest version and I am trying to connect with the admin users only. pgbouncer_exporter, version 0.8.0 (branch: HEAD, revision: af944f6) When I try below command still getting the error. Command - /opt/pgbouncer_exporter/pgbouncer_exporter --pgBouncer.connectionString="postgres://postgres:xyzzz@localhost:6433/pgbouncer?sslmode=disable" Error - ts=2024-08-12T09:00:25.963Z caller=collector.go:142 level=error msg="error setting up DB connection" err="error pinging pgbouncer: pq: not allowed" |
This is what I use for args
And
|
How do I set up this exporter? What is the connection string supposed to be? I tried the example, but all I get is
level=error ts=2021-10-14T10:29:24.248Z caller=collector.go:129 msg="error setting up DB connection" err="error pinging pgbouncer: \"pq: not allowed\""
.The text was updated successfully, but these errors were encountered: