You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using VM Operator v0.53.0, and we have a single VMAlert and about ~2k VMRule selected by this instance.
We are now facing high CPU usage,
We investigate the issue with pprof,
The hot code path is shown above which may be introduced in 9d91c22. As I understand we have to reconcile (select) all VMAlert and then all selected VMRules (~ 2k in our case) for every single VMRule.
The text was updated successfully, but these errors were encountered:
@lujiajing1126 just another idea to mitigate: you may introduce VMRule sharding by deploying multiple vmalerts having selectors for distinct set of VMRules. For example, you may introduce 4 vmalerts, each having different selectors for rulesets:
I am using VM Operator v0.53.0, and we have a single VMAlert and about ~2k VMRule selected by this instance.
We are now facing high CPU usage,
We investigate the issue with pprof,
The hot code path is shown above which may be introduced in 9d91c22. As I understand we have to reconcile (select) all VMAlert and then all selected VMRules (~ 2k in our case) for every single VMRule.
The text was updated successfully, but these errors were encountered: