-
Notifications
You must be signed in to change notification settings - Fork 832
Per tenant ruler rule group limits #3366
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
Per tenant ruler rule group limits #3366
Conversation
3926aee
to
71e72e0
Compare
Adds two limits to the rules creation. The number of rules per rule group and the number of rule groups in total, inherently this creates a limit of maximum number of rules of `max per rule group` x `max rule groups`. Signed-off-by: gotjosh <[email protected]>
Signed-off-by: gotjosh <[email protected]>
71e72e0
to
cbb9057
Compare
Signed-off-by: gotjosh <[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.
Pretty straightforward, LGTM, with some nitpicks: we use "tenant" terminology in limits recently instead of "user". Also cli flags and YAML options are not consistent (should be the same word by word except _
/ -
).
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.
Good job! Left few minor comments and then LGTM.
Co-authored-by: Marco Pracucci <[email protected]> Signed-off-by: gotjosh <[email protected]>
Co-authored-by: Marco Pracucci <[email protected]> Signed-off-by: gotjosh <[email protected]>
Co-authored-by: Marco Pracucci <[email protected]> Signed-off-by: gotjosh <[email protected]>
Co-authored-by: Marco Pracucci <[email protected]> Signed-off-by: gotjosh <[email protected]>
Signed-off-by: gotjosh <[email protected]>
5f702ba
to
ef89c42
Compare
Signed-off-by: gotjosh <[email protected]>
Signed-off-by: gotjosh <[email protected]>
986595b
to
d69047f
Compare
Signed-off-by: gotjosh <[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.
Thanks for patiently address my comments!
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.
One minor suggestion.
Otherwise, LGTM
Signed-off-by: gotjosh <[email protected]>
What this PR does:
Limits the number of rules per rule group, total rule groups and rules a particular tenant can create.
Which issue(s) this PR fixes:
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]