* Alerting NG: prototype v2 (WIP) * Separate eval package * Modify eval alert definition endpoint * Disable migration if ngalert is not enabled * Remove premature test * Fix lint issues * Delete obsolete struct * Apply suggestions from code review * Update pkg/services/ngalert/ngalert.go Co-authored-by: Kyle Brandt <kyle@grafana.com> * Add API endpoint for listing alert definitions * Introduce index for alert_definition table * make ds object for expression to avoid panic * wrap error * Update pkg/services/ngalert/eval/eval.go * Swith to backend.DataQuery * Export TransformWrapper callback * Fix lint issues * Update pkg/services/ngalert/ngalert.go Co-authored-by: Kyle Brandt <kyle@grafana.com> * Validate alert definitions before storing them * Introduce AlertQuery * Add test * Add QueryType in AlertQuery * Accept only float64 (seconds) durations * Apply suggestions from code review * Get rid of bus * Do not export symbols * Fix failing test * Fix failure due to service initialization order Introduce MediumHigh service priority and assign it to backendplugin service * Fix test * Apply suggestions from code review * Fix renamed reference Co-authored-by: Kyle Brandt <kyle@grafana.com>
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
avatar | Loading commit data... | |
datasource | Loading commit data... | |
dtos | Loading commit data... | |
pluginproxy | Loading commit data... | |
routing | Loading commit data... | |
static | Loading commit data... | |
admin.go | Loading commit data... | |
admin_provisioning.go | Loading commit data... | |
admin_users.go | Loading commit data... | |
admin_users_test.go | Loading commit data... | |
alerting.go | Loading commit data... | |
alerting_test.go | Loading commit data... | |
annotations.go | Loading commit data... | |
annotations_test.go | Loading commit data... | |
api.go | Loading commit data... | |
apikey.go | Loading commit data... | |
app_routes.go | Loading commit data... | |
basic_auth.go | Loading commit data... | |
basic_auth_test.go | Loading commit data... | |
common.go | Loading commit data... | |
common_test.go | Loading commit data... | |
dashboard.go | Loading commit data... | |
dashboard_permission.go | Loading commit data... | |
dashboard_permission_test.go | Loading commit data... | |
dashboard_snapshot.go | Loading commit data... | |
dashboard_snapshot_test.go | Loading commit data... | |
dashboard_test.go | Loading commit data... | |
dataproxy.go | Loading commit data... | |
dataproxy_test.go | Loading commit data... | |
datasources.go | Loading commit data... | |
datasources_test.go | Loading commit data... | |
folder.go | Loading commit data... | |
folder_permission.go | Loading commit data... | |
folder_permission_test.go | Loading commit data... | |
folder_test.go | Loading commit data... | |
frontend_logging.go | Loading commit data... | |
frontend_logging_test.go | Loading commit data... | |
frontendsettings.go | Loading commit data... | |
frontendsettings_test.go | Loading commit data... | |
grafana_com_proxy.go | Loading commit data... | |
health.go | Loading commit data... | |
health_test.go | Loading commit data... | |
http_server.go | Loading commit data... | |
http_server_test.go | Loading commit data... | |
index.go | Loading commit data... | |
ldap_debug.go | Loading commit data... | |
ldap_debug_test.go | Loading commit data... | |
login.go | Loading commit data... | |
login_oauth.go | Loading commit data... | |
login_test.go | Loading commit data... | |
metrics.go | Loading commit data... | |
org.go | Loading commit data... | |
org_invite.go | Loading commit data... | |
org_users.go | Loading commit data... | |
password.go | Loading commit data... | |
playlist.go | Loading commit data... | |
playlist_play.go | Loading commit data... | |
plugins.go | Loading commit data... | |
preferences.go | Loading commit data... | |
quota.go | Loading commit data... | |
render.go | Loading commit data... | |
search.go | Loading commit data... | |
short_url.go | Loading commit data... | |
signup.go | Loading commit data... | |
stars.go | Loading commit data... | |
team.go | Loading commit data... | |
team_members.go | Loading commit data... | |
team_test.go | Loading commit data... | |
user.go | Loading commit data... | |
user_test.go | Loading commit data... | |
user_token.go | Loading commit data... | |
user_token_test.go | Loading commit data... |