diff --git a/Makefile b/Makefile index 444e9fa6c..3699b3f62 100644 --- a/Makefile +++ b/Makefile @@ -52,7 +52,7 @@ run: $(NAME) COLOR_LABELS_UNIQUE="instance cluster" \ COLOR_LABELS_STATIC="job" \ DEBUG="$(GIN_DEBUG)" \ - FILTER_DEFAULT="@status=active" \ + FILTER_DEFAULT="@state=active" \ PORT=$(PORT) \ ./$(NAME) diff --git a/assets/static/autocomplete.js b/assets/static/autocomplete.js index ecca05a4a..1984a6495 100644 --- a/assets/static/autocomplete.js +++ b/assets/static/autocomplete.js @@ -30,14 +30,14 @@ var Autocomplete = (function() { // this is used to generate quick filters for label modal var generateHints = function(label_key, label_val) { var hints = []; - if (label_key == "@status") { + if (label_key == "@state") { // static list of hints for @silenced label - hints.push("@status=active"); - hints.push("@status=suppressed"); - hints.push("@status=unprocessed"); - hints.push("@status!=active"); - hints.push("@status!=suppressed"); - hints.push("@status!=unprocessed"); + hints.push("@state=active"); + hints.push("@state=suppressed"); + hints.push("@state=unprocessed"); + hints.push("@state!=active"); + hints.push("@state!=suppressed"); + hints.push("@state!=unprocessed"); } else { // equal and non-equal hints for everything else hints.push(label_key + "=" + label_val); diff --git a/assets/static/colors.js b/assets/static/colors.js index 297d357f0..9cfd47b76 100644 --- a/assets/static/colors.js +++ b/assets/static/colors.js @@ -5,9 +5,9 @@ var Colors = (function() { staticColorLabels; var specialLabels = { - "@status: unprocessed": "label-default", - "@status: active": "label-danger", - "@status: suppressed": "label-success", + "@state: unprocessed": "label-default", + "@state: active": "label-danger", + "@state: suppressed": "label-success", }; var update = function(colorData) { diff --git a/assets/templates/alertgroup.html b/assets/templates/alertgroup.html index 81ea8b53e..c6219879a 100644 --- a/assets/templates/alertgroup.html +++ b/assets/templates/alertgroup.html @@ -50,7 +50,7 @@