prometheus/rules
Julien Duchesne 6607a2ba7c
Rules: Store dependencies instead of boolean
To improve https://github.com/prometheus/prometheus/pull/15681 further, we'll need to store the dependencies and dependents of each

Right now, if a rule has both (at least 1) dependents and dependencies, it is not possible to determine the order to run the rules and they must all run sequentially

This PR only changes the dependents and dependencies attributes of rules, it does not implement a new topological sort algorithm

Signed-off-by: Julien Duchesne <julien.duchesne@grafana.com>
2024-12-17 23:18:33 -05:00
..
fixtures RuleDependencyController: Fix for indeterminate conditions (#15560) 2024-12-13 16:48:29 +00:00
alerting.go Rules: Store dependencies instead of boolean 2024-12-17 23:18:33 -05:00
alerting_test.go Rules: Store dependencies instead of boolean 2024-12-17 23:18:33 -05:00
group.go Rules: Store dependencies instead of boolean 2024-12-17 23:18:33 -05:00
group_test.go rules.NewGroup: Fix when no logger is passed (#15356) 2024-11-21 16:53:06 +01:00
manager.go Rules: Store dependencies instead of boolean 2024-12-17 23:18:33 -05:00
manager_test.go Rules: Store dependencies instead of boolean 2024-12-17 23:18:33 -05:00
origin.go Decouple ruler dependency controller from concurrency controller 2024-02-02 10:06:37 +01:00
origin_test.go Rules: Store dependencies instead of boolean 2024-12-17 23:18:33 -05:00
recording.go Rules: Store dependencies instead of boolean 2024-12-17 23:18:33 -05:00
recording_test.go Rules: Store dependencies instead of boolean 2024-12-17 23:18:33 -05:00
rule.go Rules: Store dependencies instead of boolean 2024-12-17 23:18:33 -05:00