Skip to content

Common-services/2.0.3#63

Open
jmcorne wants to merge 3 commits into
masterfrom
common-services/2.0.3
Open

Common-services/2.0.3#63
jmcorne wants to merge 3 commits into
masterfrom
common-services/2.0.3

Conversation

@jmcorne

@jmcorne jmcorne commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

The checkpoint panels queried only cnpg_pg_stat_bgwriter_* metrics, which no
longer exist on PostgreSQL 17/18 since checkpoint statistics moved to the
pg_stat_checkpointer view. Add an or cnpg_pg_stat_checkpointer_* fallback to
the 4 checkpoint targets so the panels render on both PostgreSQL <=16 and >=17.

What this PR does / why we need it:

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

  • fixes #

Special notes for your reviewer:

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • Chart Version bumped
  • Variables are documented in the README.md
  • Title of the PR starts with chart name (e.g. [fid])

jmcorne added 3 commits June 18, 2026 13:51
…ostgreSQL 17+ compatible

The checkpoint panels queried only cnpg_pg_stat_bgwriter_* metrics, which no
longer exist on PostgreSQL 17/18 since checkpoint statistics moved to the
pg_stat_checkpointer view. Add an `or cnpg_pg_stat_checkpointer_*` fallback to
the 4 checkpoint targets so the panels render on both PostgreSQL <=16 and >=17.
@jmcorne jmcorne requested review from freddym-rl and pgodey June 18, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant