Skip to content

feat(metrics): check if extensions have updates - #7195

Merged
leonardoce merged 1 commit into
cloudnative-pg:mainfrom
fcanovai:extensions_metric
Mar 25, 2025
Merged

leonardoce merged 1 commit into
cloudnative-pg:mainfrom
fcanovai:extensions_metric

Conversation

@fcanovai

@fcanovai fcanovai commented Mar 24, 2025 •

Copy link
Copy Markdown
Contributor

Updating the image can update the extensions available, but doesn't change the version installed in the database. We want to expose the info about an available update to the users.

Closes #7194

Release notes

The pg_extensions matric has been added, exposing information about the installed extensions and their latest available version.

@fcanovai
fcanovai requested a review from a team March 24, 2025 11:24
@fcanovai
fcanovai force-pushed the extensions_metric branch 2 times, most recently from 5c13cc8 to d5aefd6 Compare March 24, 2025 11:25
@cnpg-bot cnpg-bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.22 labels Mar 24, 2025
@github-actions

Copy link
Copy Markdown
Contributor

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

fcanovai added a commit to fcanovai/charts that referenced this pull request Mar 24, 2025
Updating the image can update the extensions available, but doesn't
change the version installed in the database. We want to expose the
info about an available update to the users.
These are the same changes included in
cloudnative-pg/cloudnative-pg#7195

Signed-off-by: Francesco Canovai <[email protected]>
fcanovai added a commit to fcanovai/charts that referenced this pull request Mar 24, 2025
Updating the image can update the extensions available, but doesn't
change the version installed in the database. We want to expose the
info about an available update to the users.
These are the same changes included in
cloudnative-pg/cloudnative-pg#7195

Signed-off-by: Francesco Canovai <[email protected]>
fcanovai added a commit to fcanovai/charts that referenced this pull request Mar 24, 2025
Updating the image can update the extensions available, but doesn't
change the version installed in the database. We want to expose the
info about an available update to the users.
These are the same changes included in
cloudnative-pg/cloudnative-pg#7195

Signed-off-by: Francesco Canovai <[email protected]>
@fcanovai fcanovai removed backport-requested ◀️ This pull request should be backported to all supported releases release-1.22 labels Mar 24, 2025
fcanovai added a commit to fcanovai/grafana-dashboards that referenced this pull request Mar 24, 2025
Add a panel to display the extensions installed on the databases, and
show if they can be updated. Uses the metric added in
cloudnative-pg/cloudnative-pg#7195

Signed-off-by: Francesco Canovai <[email protected]>
fcanovai added a commit to fcanovai/grafana-dashboards that referenced this pull request Mar 24, 2025
Add a panel to display the extensions installed on the databases, and
show if they can be updated. Uses the metric added in
cloudnative-pg/cloudnative-pg#7195

Signed-off-by: Francesco Canovai <[email protected]>
Updating the image can update the extensions available, but doesn't
change the version installed in the database. We want to expose the info
about an available update to the users.

Closes cloudnative-pg#7194

Signed-off-by: Francesco Canovai <[email protected]>
@leonardoce

Copy link
Copy Markdown
Contributor

/ok-to-merge tested monitoring manually

@cnpg-bot cnpg-bot added the ok to merge 👌 This PR can be merged label Mar 25, 2025
@leonardoce
leonardoce merged commit 3abc879 into cloudnative-pg:main Mar 25, 2025
itay-grudev pushed a commit to cloudnative-pg/charts that referenced this pull request Mar 25, 2025
Updating the image can update the extensions available, but doesn't
change the version installed in the database. We want to expose the
info about an available update to the users.
These are the same changes included in
cloudnative-pg/cloudnative-pg#7195

Signed-off-by: Francesco Canovai <[email protected]>
@mnencia mnencia added the do not backport This PR must not be backported - it will be in the next minor release label Mar 28, 2025
jouve pushed a commit to jouve/charts that referenced this pull request Jul 16, 2025
Updating the image can update the extensions available, but doesn't
change the version installed in the database. We want to expose the
info about an available update to the users.
These are the same changes included in
cloudnative-pg/cloudnative-pg#7195

Signed-off-by: Francesco Canovai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not backport This PR must not be backported - it will be in the next minor release ok to merge 👌 This PR can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: metric for extension in need of upgrades

5 participants