grafana/pkg/services/ngalert/eval
George Robinson 8dd3eb856d
Alerting: Improve performance of matching captures (#71828)
This commit updates eval.go to improve the performance of matching
captures in the general case. In some cases we have reduced the
runtime of the function from 10s of minutes to a couple 100ms.
In the case where no capture matches the exact labels, we revert to
the current subset/superset match, but with a reduced search space
due to grouping captures.
2023-07-20 09:07:00 +01:00
..
eval_mocks Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
context.go Alerting: Tiny refactor on the eval and schedule packages (#66130) 2023-04-06 16:02:28 +01:00
eval_bench_test.go Alerting: Improve performance of matching captures (#71828) 2023-07-20 09:07:00 +01:00
eval_test.go Alerting: Add tests for matching captures (#71928) 2023-07-19 12:52:26 +01:00
eval.go Alerting: Improve performance of matching captures (#71828) 2023-07-20 09:07:00 +01:00
extract_md_test.go Alerting: Sort NumberCaptureValues in EvaluationString (#71927) 2023-07-19 12:09:21 +01:00
extract_md.go Alerting: Sort NumberCaptureValues in EvaluationString (#71927) 2023-07-19 12:09:21 +01:00
testing.go Alerting: State manager to use InstanceStore (#53852) 2022-08-18 09:40:33 -04:00