-
Notifications
You must be signed in to change notification settings - Fork 323
Error when running the postgres exporter with postgres 17 #2388
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
Comments
hi, thanks for reporting this bug. We are currently running a fork of the postgres exporter. There is a todo to update our fork with upstream (https://github.com/grafana/alloy/blob/main/go.mod#L942). This bug is extra motivation to get it done :) @dehaansa you looked into this exporter recently, any pain points to get it updated? |
Yeah, there were some relatively significant changes to get upstreamed, it might be more straightforward to cherry pick the fix for postgresl17 before continuing on the upstream work. |
I am having the same issue with Alloy 1.6.1. Any ETA when this will be fixed? |
in the meanwhile postgres_exporter have released a fixed version themselves https://github.com/prometheus-community/postgres_exporter/releases/tag/v0.17.0 |
I've updated the fork of upstream postgres_exporter that Alloy uses, this should be fixed in the next release. That said, if you disable the |
This was released early in 1.7.3 as we were pushing out a patch for some other minor issues and it tagged along. |
What's wrong?
postgres 17 removed the
checkpoints_timed
column frompg_stat_pgwriter
causing the following errorApparently this has been fixed on the
master
branch ofpostgres-exporter
prometheus-community/postgres_exporter#1072 but still hasn't been released.Steps to reproduce
System information
Linux 6.1.0-25-amd64
Software version
v1.5.1
Configuration
Logs
The text was updated successfully, but these errors were encountered: