mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(alerting): renames error_level to crit_level
This commit is contained in:
@@ -19,8 +19,8 @@ func TestAlertingDataAccess(t *testing.T) {
|
||||
DashboardId: 1,
|
||||
Query: "Query",
|
||||
QueryRefId: "A",
|
||||
WarnLevel: 30,
|
||||
ErrorLevel: 50,
|
||||
WarnLevel: "> 30",
|
||||
CritLevel: "> 50",
|
||||
Interval: 10,
|
||||
Title: "Alerting title",
|
||||
Description: "Alerting description",
|
||||
|
||||
@@ -13,8 +13,8 @@ func addAlertMigrations(mg *Migrator) {
|
||||
{Name: "panel_id", Type: DB_BigInt, Nullable: false},
|
||||
{Name: "query", Type: DB_Text, Nullable: false},
|
||||
{Name: "query_ref_id", Type: DB_NVarchar, Length: 255, Nullable: false},
|
||||
{Name: "warn_level", Type: DB_BigInt, Nullable: false},
|
||||
{Name: "error_level", Type: DB_BigInt, Nullable: false},
|
||||
{Name: "warn_level", Type: DB_NVarchar, Length: 255, Nullable: false},
|
||||
{Name: "crit_level", Type: DB_NVarchar, Length: 255, Nullable: false},
|
||||
{Name: "interval", Type: DB_BigInt, Nullable: false},
|
||||
{Name: "title", Type: DB_NVarchar, Length: 255, Nullable: false},
|
||||
{Name: "description", Type: DB_NVarchar, Length: 255, Nullable: false},
|
||||
|
||||
Reference in New Issue
Block a user