mirror of
https://github.com/prometheus/prometheus
synced 2025-03-31 07:49:19 +00:00
* `RuleConcurrencyController`: Add `SplitGroupIntoBatches` method The concurrency implementation can now return a slice of concurrent rule batches This allows for additional concurrency as opposed to the current interface which is limited by the order in which the rules have been loaded Also, I removed the `concurrencyController` attribute from the group. That information is duplicated in the opts.RuleConcurrencyController` attribute, leading to some confusing behavior, especially in tests. Signed-off-by: Julien Duchesne <julien.duchesne@grafana.com> * Address PR comments Signed-off-by: Julien Duchesne <julien.duchesne@grafana.com> * Apply suggestions from code review Co-authored-by: gotjosh <josue.abreu@gmail.com> Signed-off-by: Julien Duchesne <julienduchesne@live.com> --------- Signed-off-by: Julien Duchesne <julien.duchesne@grafana.com> Signed-off-by: Julien Duchesne <julienduchesne@live.com> Co-authored-by: gotjosh <josue.abreu@gmail.com> |
||
---|---|---|
.. | ||
rules1.yaml | ||
rules2_copy.yaml | ||
rules2.yaml | ||
rules_chain.yaml | ||
rules_dependencies.yaml | ||
rules_indeterminates.yaml | ||
rules_multiple_dependents_on_base.yaml | ||
rules_multiple_groups.yaml | ||
rules_multiple_independent.yaml | ||
rules_multiple.yaml | ||
rules.yaml |