mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 04:04:00 -06:00
6c5e94095d
* export Evaluation * Export Evaluation * Export RuleVersionAndPauseStatus * export Eval, create interface * Export update and add to interface * Export Stop and Run and add to interface * Registry and scheduler use rule by interface and not concrete type * Update factory to use interface, update tests to work over public API rather than writing to channels directly * Rename map in registry * Rename getOrCreateInfo to not reference a specific implementation * Genericize alertRuleInfoRegistry into ruleRegistry * Rename alertRuleInfo to alertRule * Comments on interface * Update pkg/services/ngalert/schedule/schedule.go Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com> --------- Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com> |
||
---|---|---|
.. | ||
alert_rule_test.go | ||
alert_rule.go | ||
alerts_sender_mock.go | ||
fetcher.go | ||
jitter_test.go | ||
jitter.go | ||
loaded_metrics_reader_test.go | ||
loaded_metrics_reader.go | ||
metrics_test.go | ||
metrics.go | ||
registry_bench_test.go | ||
registry_test.go | ||
registry.go | ||
schedule_unit_test.go | ||
schedule.go | ||
testing.go |