pgwatch3 fails to monitor PgBouncer when connecting to a specific pool: "ERROR: unrecognized configuration parameter 'version'" #855
Unanswered
windowsisnotos
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It should be |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello!
I am experiencing an error when trying to monitor a PgBouncer instance with pgwatch3, targeting a specific pool rather than the special pgbouncer database.
My setup:
pgwatch3 version: 3.6.0
PgBouncer version: 1.24.1
Connection string:
postgresql://pgbouncer:pgbouncer@10.0.20.140:6432/docs
dbtype: pgbouncer
preset_config: pgbouncer
Here is the row from my pgwatch.source table:
Problem:
When pgwatch3 tries to connect, I get repeated errors like this in the logs:
After that, it retries but fails continuously.
What I expect
I expect that monitoring a specific pool (e.g. docs) would either work for PgBouncer stats or, if unsupported, give a clear validation or message.
What I tested
Monitoring via .../pgbouncer (the special database name) works fine.
Monitoring via a specific pool fails with the error above.
Questions
Is it expected that specifying a pool name in the connection string should work for PgBouncer monitoring?
Is this an issue in pgwatch3 or an unsupported scenario?
Is there a workaround to monitor just a specific pool with pgwatch3?
How to reproduce
Just add a source connection with dbtype=pgbouncer and preset_config=pgbouncer, and a connection string pointing to an actual pool rather than pgbouncer.
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions