Skip to content

Add new metrics in default-monitoring configmap#10281

Open
pchovelon wants to merge 4 commits intocloudnative-pg:mainfrom
pchovelon:dev-add-metrics
Open

Add new metrics in default-monitoring configmap#10281
pchovelon wants to merge 4 commits intocloudnative-pg:mainfrom
pchovelon:dev-add-metrics

Conversation

@pchovelon
Copy link
Copy Markdown
Contributor

Here is a proposal to add new metrics in the default configmap used by the operator.

  1. inactive_since for replication_slots for v17+

So we could know since when the slot is inactive.

  1. autovacuum workers count

In order to know if autovacuum and autovacuum_max_workers need to be changed or not.

  1. parallel workers statistics for v18+

Parallel workers can be launched for requests that need them. In some case, workers might not be available. Those statistics help to follow that.

@pchovelon pchovelon requested a review from a team as a code owner March 12, 2026 09:12
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Mar 12, 2026
@cnpg-bot cnpg-bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.25 release-1.27 release-1.28 labels Mar 12, 2026
@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

@dosubot dosubot bot added the observability 🔍 Observability, Monitoring, Logging label Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-requested ◀️ This pull request should be backported to all supported releases observability 🔍 Observability, Monitoring, Logging release-1.25 release-1.27 release-1.28 size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants