prometheus/rules
Julien Duchesne 9fd394072f
RuleConcurrencyController: Add Sort 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>
2024-12-17 23:10:07 -05:00
..
fixtures RuleConcurrencyController: Add Sort method 2024-12-17 23:10:07 -05:00
alerting.go enable errorf rule from perfsprint linter 2024-11-06 16:50:36 +01:00
alerting_test.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
group.go RuleConcurrencyController: Add Sort method 2024-12-17 23:10:07 -05:00
group_test.go rules.NewGroup: Fix when no logger is passed (#15356) 2024-11-21 16:53:06 +01:00
manager.go RuleConcurrencyController: Add Sort method 2024-12-17 23:10:07 -05:00
manager_test.go RuleConcurrencyController: Add Sort method 2024-12-17 23:10:07 -05:00
origin.go Decouple ruler dependency controller from concurrency controller 2024-02-02 10:06:37 +01:00
origin_test.go chore!: adopt log/slog, remove go-kit/log 2024-10-07 15:58:50 -04:00
recording.go enable errorf rule from perfsprint linter 2024-11-06 16:50:36 +01:00
recording_test.go Refactor engine creation in tests 2024-07-14 13:58:51 +02:00
rule.go Feature: Allow configuration of a rule evaluation delay (#14061) 2024-05-30 11:49:50 +01:00