-
Notifications
You must be signed in to change notification settings - Fork 573
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
Runtime override of tenant-specific active series custom trackers #1188
Conversation
I like the direction where this is going, however before going into a deeper review about nitpicks etc. I'd like to discuss the fact that per-tenant matchers overwrite the default ones. IMO, the per-tenant matchers should be merged on top of the default ones. We could leave the door open to un-setting a matcher if needed (weird need, but who knows). Consider that we have only one default matcher:
And we set per-tenant matchers for a tenant:
After that, a system operator adds a new default one |
Actually, I have started the implementation in the way that you have just described.
But all in all, I can easily be convinced to do the other way. :) |
Oh I see, so you still want to merge but you want to do that in our jsonnet. |
I agree with that. We have agreed to work on that in separate PR to limit the diff size of this one. |
Please rebase this PR on top of |
This looks good to me! Left a minor nitpick. Not leaving a green tick because as I mentioned I shouldn't be approving this since I collaborated on it. |
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.
Thank you. This is massive PR, but you did an amazing job navigating unfamiliar Mimir code and our comments and suggestions. Great job!
(I left few remaining small comments, but nothing blocking.)
I forgot: @colega also did an amazing job on this PR. It would not be this far without your help! One detail: there is comment about removing deprecated option in Mimir 2.2. I think it will need to be in 2.3, because this feature will be released in Mimir 2.1. |
Thank you for last touches on this! |
What this PR does
This PR moves the active series custom trackers to a runtime configuration, and also introduces tenant-specific overwrites for these matchers.
I am uploading this to start an early discussion of the design,
Key points I would already like to discuss:
Moving the custom trackers to runtime configuration is a breaking change as it removes the flag and changes the default behaviorWhich issue(s) this PR fixes
https://github.com/grafana/mimir-squad/issues/526
Fixes #
Checklist
CHANGELOG.md
updated - the order of entries should be[CHANGE]
,[FEATURE]
,[ENHANCEMENT]
,[BUGFIX]