Repository navigation
monitoring: fix pool growth alert threshold - #72067
Merged
Merged
Conversation
ceph_pool_percent_used reports a fraction, but CephPoolGrowthWarning compares its forecast with 95. Use 0.95 in the Jsonnet source and generated rules so the threshold matches the metric's scale. Replace percentage-scale test data with fractional values and check fast-growing, slow-growing, and constant pool usage. Fixes: https://tracker.ceph.com/issues/80856 Signed-off-by: Mikhail Basov <[email protected]>
|
Thank you for your contribution. Since you are not yet a member of the Ceph organization with write permissions on ceph/ceph.git, our CI will not automatically run. Any member of the Ceph organization may label this PR |
afreen23
approved these changes
Sep 28, 2026
Contributor
|
@aaSharma14 can you do a round of testing. |
aaSharma14
approved these changes
Sep 29, 2026
aaSharma14
left a comment
Contributor
There was a problem hiding this comment.
Tested locally, works as expected.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CephPoolGrowthWarning compares a fractional metric's forecast with 95 instead of 0.95. This fixes the Jsonnet source and generated rules and replaces percentage-scale test input with fractional values, including flat and slowly growing controls.
Fixes: https://tracker.ceph.com/issues/80856
The focused promtool regression and alert validator pass. The full alert suite still has 12 unrelated failures reproduced on the clean base; this is not a full-suite pass.
Found while studying alert rules across projects; research results are published only in aggregate. AI tools assisted with the patch, tests, and review.
Checklist