-
Notifications
You must be signed in to change notification settings - Fork 807
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
Setting ruler.evaluation-delay-duration to be deprecated. #6149
Setting ruler.evaluation-delay-duration to be deprecated. #6149
Conversation
798228f
to
f30dc87
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change looks great!
Integration test for ruler failed on TestRulerEvaluationDelay
. Let's just remove that test.
ef6df4c
to
f84944f
Compare
-ruler.evaluation-delay-duration
-ruler.evaluation-delay-duration
Was this flag experimental? If no, do we need to give a grace period before removing altogether and have just the warning message for now if this flag is being used (this is what I would understand as deprecating something). |
https://cortexmetrics.io/docs/configuration/v1guarantees/#flags-config-and-minor-version-upgrades I am trying to understand this process better.
If the latter this PR should be ok. |
I think the biggest issue here is that now we have two flags doing the same thing. Looking at the code it looks like the delay would be the sum of two values. This seems more like a bug than a flag deprecate. We can go back to remove the new RuleQueryOffset flag and maintain RulerEvaluationDelay, but now as the query-offset time for Prometheus. |
Signed-off-by: Daniel Deluiggi <[email protected]>
Signed-off-by: Daniel Deluiggi <[email protected]>
Signed-off-by: Daniel Deluiggi <[email protected]>
Signed-off-by: Daniel Deluiggi <[email protected]>
8143601
to
ecd5fda
Compare
Signed-off-by: Daniel Deluiggi <[email protected]>
Signed-off-by: Daniel Deluiggi <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just a small nit.
Signed-off-by: Daniel Deluiggi <[email protected]>
Signed-off-by: Daniel Deluiggi <[email protected]>
What this PR does:
Follow up from #6085
Deprecating
-ruler.evaluation-delay-duration
Should use new flag
ruler.query-offset
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]