prometheus/rules
Julien Duchesne 7802ca263d
RuleDependencyController: Fix for indeterminate conditions (#15560)
The dependency map being empty meant that all the rules were being set as having no dependencies or dependents. Which is the opposite of what we want
Added two new tests that verify the behavior, they failed before the fix, running all the rules concurrently

Signed-off-by: Julien Duchesne <julien.duchesne@grafana.com>
2024-12-13 16:48:29 +00:00
..
fixtures RuleDependencyController: Fix for indeterminate conditions (#15560) 2024-12-13 16:48:29 +00: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 rules.NewGroup: Fix when no logger is passed (#15356) 2024-11-21 16:53:06 +01:00
group_test.go rules.NewGroup: Fix when no logger is passed (#15356) 2024-11-21 16:53:06 +01:00
manager.go RuleDependencyController: Fix for indeterminate conditions (#15560) 2024-12-13 16:48:29 +00:00
manager_test.go RuleDependencyController: Fix for indeterminate conditions (#15560) 2024-12-13 16:48:29 +00: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