You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pgbouncer exporter doesn't support metrics exposed by updated pgbouncer. #47295
PGBouncer has been updated and now exposes more metrics than before - the exporter no longer supports the full list of metrics and the following error can be seen in the logs of the exporter:
could not get store result: could not get stats: unexpected column: total_server_assignment_count
The support has been added in upstream pg_exporter, supporting pgbouncer version 1.24 and up.
The pgbouncer base image was updated to 1.24 in the airflow-pgbouncer-2025.01.10-1.24.0 docker image, however the exporter has not been updated to support it.
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
This will be partially addressed by #47416, however another PR will need created to update the helm chart defaults once this is merged and deployed.
Coming back to this. As I noted in #47416, simply updating pgbouncer_exporter to 0.18.0 will not provide support for pgbouncer 1.24, which is currently the default version in the helm chart.
The support has been added in upstream pg_exporter, supporting pgbouncer version 1.24 and up.
The link you provided is not to the pgbouncer_exporter library used by the helm chart, so this isn't true from the perspective of the helm chart. The helm chart instead uses the jbub/pgbouncer_exporter repo
RUN URL="https://github.com/jbub/pgbouncer_exporter/archive/v${PGBOUNCER_EXPORTER_VERSION}.tar.gz" \
Unfortunately this repo only provides support for pgbouncer 1.23 and below. I created an upstream issue jbub/pgbouncer_exporter#34 to address.
There are two options to resolving this issue as I see it:
Build a pgbouncer 1.23 image to at least provide a path to compatibility, even if the image is not set as the default in the helm chart (decrementing the default would be a breaking change).
Activity
boring-cyborg commentedon Mar 3, 2025
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
Jarvl commentedon Mar 5, 2025
This will be partially addressed by #47416, however another PR will need created to update the helm chart defaults once this is merged and deployed.
Jarvl commentedon Mar 6, 2025
Coming back to this. As I noted in #47416, simply updating pgbouncer_exporter to 0.18.0 will not provide support for pgbouncer 1.24, which is currently the default version in the helm chart.
The link you provided is not to the pgbouncer_exporter library used by the helm chart, so this isn't true from the perspective of the helm chart. The helm chart instead uses the jbub/pgbouncer_exporter repo
airflow/chart/dockerfiles/pgbouncer-exporter/Dockerfile
Line 26 in 4964a19
Unfortunately this repo only provides support for pgbouncer 1.23 and below. I created an upstream issue jbub/pgbouncer_exporter#34 to address.
There are two options to resolving this issue as I see it: