-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
mixin: Introduce flexible multi-cluster/namespace mode for alerts and dashboards #3856
mixin: Introduce flexible multi-cluster/namespace mode for alerts and dashboards #3856
Conversation
7ed2a25
to
4766760
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.
I would love this PR, but unfortunately, it also has those pod
selector changes, which I don't understand 🤔
4766760
to
430622c
Compare
430622c
to
21ef5f6
Compare
ad13ea2
to
03e314d
Compare
Friendly ping @metalmatze @bwplotka |
70cd602
to
e367b4b
Compare
Didn't we just work on getting rid of kubernetes specific things? |
Ok, I'm convinced that we need to generalize this. Marking it WIP and jumping to fix these. |
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
e367b4b
to
44b7701
Compare
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Friendly ping @bwplotka @metalmatze @brancz. Could you please take one last look at 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.
I wonder if we should not have by (job, namespace)
in most of those places to ensure we are not reducing all to one value. If we have multiple jobs in different namespaces we would count those as one series with this PR, no? 🤔
@bwplotka As stated in the issue(#3867) we try to decouple from any platforms by removing specific notions from the mixin. Thus I removed |
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.
I understand that, however, the problem is that we are summing namespaces and potentially cluster (whatever users have) into one value.
Thanks for pointing out. I'll make sure all the queries are modified with this way. |
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
@bwplotka It's ready for another round. I've added missing aggregators. |
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
b6abd92
to
d8cd6e5
Compare
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
d8cd6e5
to
cf65979
Compare
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
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 perfect now, very flexible and consistent. But I would suggest bit different naming 🤗
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
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.
Epic, looks clean and amazing to me! 💪🏽 Let's go! 🚀
Signed-off-by: Kemal Akkoyun kakkoyun@gmail.com
Changes
Verification
make examples
make example-rules-lint
Merge after: #3854
Fixes: #3856