-
Notifications
You must be signed in to change notification settings - Fork 742
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
checkpoints_timed not found when monitoring Postgres 17beta3 #1060
Comments
Same here : PostgreSQL version postgresql-17 17.0-1.pgdg120+1 postgres_exporter version : root@32132694b4b9:/# postgres_exporter --version
postgres_exporter, version 0.15.0 (branch: HEAD, revision: 68c176b8833b7580bf847cecf60f8e0ad5923f9a)
build user: root@7c5a76bc737a
build date: 20231027-14:38:04
go version: go1.21.3
platform: linux/arm64
tags: unknown postgres-exporter-1 | {"caller":"collector.go:202","duration_seconds":0.01493675,"err":"pq: column \"checkpoints_timed\" does not exist","level":"error","msg":"collector failed","name":"stat_bgwriter","ts":"2024-09-28T16:02:37.125Z"}
postgres-1 | 2024-09-28 16:02:37 UTC [158-1] concerto@concerto ERROR: column "checkpoints_timed" does not exist at character 10
postgres-1 | 2024-09-28 16:02:37 UTC [158-2] concerto@concerto STATEMENT: SELECT
postgres-1 | checkpoints_timed
postgres-1 | ,checkpoints_req
postgres-1 | ,checkpoint_write_time
postgres-1 | ,checkpoint_sync_time
postgres-1 | ,buffers_checkpoint
postgres-1 | ,buffers_clean
postgres-1 | ,maxwritten_clean
postgres-1 | ,buffers_backend
postgres-1 | ,buffers_backend_fsync
postgres-1 | ,buffers_alloc
postgres-1 | ,stats_reset
postgres-1 | FROM pg_stat_bgwriter; |
n-rodriguez
added a commit
to n-rodriguez/postgres_exporter
that referenced
this issue
Oct 7, 2024
n-rodriguez
added a commit
to n-rodriguez/postgres_exporter
that referenced
this issue
Oct 7, 2024
…iter to pg_stat_checkpointer Fix prometheus-community#1060 See: https://www.dbi-services.com/blog/postgresql-17-new-catalog-view-pg_stat_checkpointer/ Signed-off-by: Nicolas Rodriguez <[email protected]>
n-rodriguez
added a commit
to n-rodriguez/postgres_exporter
that referenced
this issue
Oct 7, 2024
…iter to pg_stat_checkpointer Fix prometheus-community#1060 See: https://www.dbi-services.com/blog/postgresql-17-new-catalog-view-pg_stat_checkpointer/ Signed-off-by: Nicolas Rodriguez <[email protected]>
is there a way to silence these logs while #1072 is being reviewed? |
+1 |
n-rodriguez
added a commit
to n-rodriguez/postgres_exporter
that referenced
this issue
Oct 17, 2024
…iter to pg_stat_checkpointer Fix prometheus-community#1060 See: https://www.dbi-services.com/blog/postgresql-17-new-catalog-view-pg_stat_checkpointer/ Signed-off-by: Nicolas Rodriguez <[email protected]>
High5Apps
added a commit
to High5Apps/organize-backend
that referenced
this issue
Oct 17, 2024
- Fix checkpoints_timed not found error by using the `--no-collector.stat_bgwriter` flag in the docker compose command - This flag can be removed once the issue below is fixed, and a new docker image is released - prometheus-community/postgres_exporter#1060 - https://github.com/prometheus-community/postgres_exporter - https://www.rockdata.net/external/postgres_exporter-metrics/ - https://stackoverflow.com/a/59366582 - https://hub.docker.com/r/prometheuscommunity/postgres-exporter
@High5Apps thanks a lot, saved my day, also based from the linked commit |
n-rodriguez
added a commit
to n-rodriguez/postgres_exporter
that referenced
this issue
Oct 26, 2024
…iter to pg_stat_checkpointer Fix prometheus-community#1060 See: https://www.dbi-services.com/blog/postgresql-17-new-catalog-view-pg_stat_checkpointer/ Signed-off-by: Nicolas Rodriguez <[email protected]>
n-rodriguez
added a commit
to n-rodriguez/postgres_exporter
that referenced
this issue
Oct 28, 2024
…iter to pg_stat_checkpointer Fix prometheus-community#1060 See: https://www.dbi-services.com/blog/postgresql-17-new-catalog-view-pg_stat_checkpointer/ Signed-off-by: Nicolas Rodriguez <[email protected]>
n-rodriguez
added a commit
to n-rodriguez/postgres_exporter
that referenced
this issue
Nov 13, 2024
…iter to pg_stat_checkpointer Fix prometheus-community#1060 See: https://www.dbi-services.com/blog/postgresql-17-new-catalog-view-pg_stat_checkpointer/ Signed-off-by: Nicolas Rodriguez <[email protected]>
tomhughes
added a commit
to openstreetmap/chef
that referenced
this issue
Nov 14, 2024
any movements here? :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What did you do? Upgraded from Postgresql 16 to Postgresql 17beta3
What did you expect to see? Monitoring working as before.
What did you see instead? Under which circumstances?
The error message below is logged by postgres_exporter:
This must be as checkpoint related columns in PG 17 have been moved from
pg_stat_bgwriter
topg_stat_checkpointer
according to https://www.dbi-services.com/blog/postgresql-17-new-catalog-view-pg_stat_checkpointer/.Environment Running in Kubernetes, any environment.
postgres_exporter version:
v0.15.0
postgres_exporter flags: none
PostgreSQL version: postgres 17beta3
Logs:
The text was updated successfully, but these errors were encountered: