prometheus/rules/fixtures
Julien Duchesne 8067f27971
RuleConcurrencyController: Add SplitGroupIntoBatches method (#15681)
* `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>
2025-01-06 18:51:19 +00:00
..
rules1.yaml TSDB: Fix some edge cases when OOO is enabled (#14710) 2024-10-23 17:34:28 +02:00
rules2_copy.yaml fixes yamllint errors 2021-06-12 12:47:47 +02:00
rules2.yaml fixes yamllint errors 2021-06-12 12:47:47 +02:00
rules_chain.yaml RuleConcurrencyController: Add SplitGroupIntoBatches method (#15681) 2025-01-06 18:51:19 +00:00
rules_dependencies.yaml Implementation 2024-01-29 10:07:15 +01:00
rules_indeterminates.yaml RuleDependencyController: Fix for indeterminate conditions (#15560) 2024-12-13 16:48:29 +00:00
rules_multiple_dependents_on_base.yaml RuleConcurrencyController: Add SplitGroupIntoBatches method (#15681) 2025-01-06 18:51:19 +00:00
rules_multiple_groups.yaml RuleConcurrencyController: Add SplitGroupIntoBatches method (#15681) 2025-01-06 18:51:19 +00:00
rules_multiple_independent.yaml Block until all rules, both sync & async, have completed evaluating 2024-01-29 10:08:41 +01:00
rules_multiple.yaml Implementation 2024-01-29 10:07:15 +01:00
rules.yaml fixes yamllint errors 2021-06-12 12:47:47 +02:00