mirror of
https://github.com/prometheus/prometheus
synced 2025-03-24 20:27:01 +00:00
* 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> * Store a slice of Rule instead Signed-off-by: Julien Duchesne <julien.duchesne@grafana.com> * Add `BenchmarkRuleDependencyController_AnalyseRules` for future reference Signed-off-by: Julien Duchesne <julien.duchesne@grafana.com> --------- Signed-off-by: Julien Duchesne <julien.duchesne@grafana.com> |
||
---|---|---|
.. | ||
fixtures | ||
alerting_test.go | ||
alerting.go | ||
group_test.go | ||
group.go | ||
manager_test.go | ||
manager.go | ||
origin_test.go | ||
origin.go | ||
recording_test.go | ||
recording.go | ||
rule.go |