mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Alerting: Tiny refactor on the eval and schedule packages two very small things: - We had a constructor on something called a `Context` which is not a `context.Context` so let's just name that constructor `NewContext` - The user that we use to run query evaluations is the same (with some variation) abstract it to a function so that it can be re-used when necessary. * Update pkg/services/ngalert/schedule/schedule.go Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com> * Update pkg/services/ngalert/schedule/schedule.go Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com> --------- Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com> |
||
---|---|---|
.. | ||
admin_configuration_test.go | ||
admin_configuration.go | ||
alert_query_test.go | ||
alert_query.go | ||
alert_rule_test.go | ||
alert_rule.go | ||
alertmanager.go | ||
constants.go | ||
history.go | ||
image_test.go | ||
image.go | ||
instance_labels.go | ||
instance_test.go | ||
instance.go | ||
provisioning.go | ||
testing.go | ||
time.go |