-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Update pgbouncer to 1.23.1 and pgbouncer_exporter to 0.18.0 in helm chart #47416
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
Conversation
- Upgrades pgbouncer_exporter to 0.18.0 - Bumps Airflow pgbouncer_exporter version to current date (2025-03-05) - Bumps expected Go version to 1.23.7 per pgbouncer_exporter release notes
|
Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
|
|
Yep. I am just on it :) |
|
ok. Pushed the image. |
To clarify - do you mean as part of this PR or a separate PR? |
|
As part of this PR is best :) |
|
Let's see if it passes the tests :) |
|
added missing EOL |
|
Just tried the new image alongside pgbouncer 1.24, still getting the same error. It looks like v0.18.0 of pgbouncer_exporter only provides support up to pgbouncer 1.23, so what's in my PR description currently is inaccurate. This will not resolve the errors noted in #47295. I created an issue in the upstream library to address: jbub/pgbouncer_exporter#34 How do we want to proceed? It's not going to be as simple as performing this upgrade to provide support for pgbouncer 1.24 since the upstream needs updated with support. One option could be to proceed with this PR, then decrement the pgbouncer version in the helm chart to 1.23 so there are no longer incompatibilities. Or at least build an image for pgbouncer 1.23. Then once pgbouncer_exporter has adequate support we can bump that to a newer version in the helm chart. Edit: To clarify, there is not an image built for pgbouncer 1.23 (it was incremented from 1.22 -> 1.24 in #45542). |
I updated my PR description to reflect what I noted here. |
|
Let's decrease it to 1.23 in this PR |
|
With some comments left and link to the issue you opened -> then I can build and push the image - initially it will fail when you make the change but then I can push the image and restart failing jobs to pick up the new image |
How comfortable are we with doing this and potentially introducing a breaking change into the helm chart? pgbouncer 1.24 introduces new features and configs so decrementing the version in the helm chart could be an unexpected breaking change for people using the defaults. |
|
I think we never released chart with 1.24 |
|
We have not released chart for a looooong time. |
Ah good point, I should have checked the release notes! |
|
Note that the pgbouncer Dockerfile needed changes to support the tag name used upstream so those changes are included in 7457aa6. For example: Didn't test that the build works locally though, still working on getting my dev environment set up. |
I validated locally that the |
|
Built and pushed, approved workflows |
|
@potiuk Who would be the best person to ping for a review on this PR? |
|
Me :) |
|
Awesome work, congrats on your first merged pull request! You are invited to check our Issue Tracker for additional contributions. |
Thank you so much for your help and attention! |
…hart (apache#47416) * Upgrade pgbouncer_exporter to 0.18.0 - Upgrades pgbouncer_exporter to 0.18.0 - Bumps Airflow pgbouncer_exporter version to current date (2025-03-05) - Bumps expected Go version to 1.23.7 per pgbouncer_exporter release notes * Update helm chart default pgbouncer_exporter image to 0.18.0 * Add newline to 47416.misc.rst * Update chart/newsfragments/47416.misc.rst * fixup! Update chart/newsfragments/47416.misc.rst * Bump pgbouncer to version 1.23.1 * Change to significant news fragment * Update newsfragment content --------- Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
This PR bumps pgbouncer_exporter to version
v0.18.0and decrements pgbouncer to1.23.1.The latest version 0.18.0 of pgbouncer_exporter only provides support up to pgbouncer 1.23.1, as pgbouncer
1.24.0introduces new stats that cause errors within pgbouncer_exporter. Currently, the latest images published for the helm chart are pgbouncer1.24.0airflow-pgbouncer-2025.01.10-1.24.0 and pgbouncer_exporterv0.17.0airflow-pgbouncer-exporter-2024.06.18-0.17.0, which are incompatible with each other as outlined in #47295.Until pgbouncer_exporter is updated to support these new metrics, the helm chart should use compatible versions of the libraries.
closes: #47295
New pgbouncer image:
airflow-pgbouncer-2025.03.05-1.23.1New pgbouncer_exporter image:
airflow-pgbouncer-exporter-2025.03.05-0.18.0This PR required changes to the pgbouncer build script and
Dockerfileto support tag names that do not consistently correspond with the version name.Note: pgbouncer_exporter
v0.18.0also increments the go version used to1.23, see: jbub/pgbouncer_exporter@479710b. The expected go version is bumped here to1.23.7here to support this change.