Alerting: Remove unknown state filter (#114143)

* Remove unknown state filter

* Update translations
This commit is contained in:
Konrad Lalik
2025-11-19 11:42:39 +01:00
committed by GitHub
parent 99e0654fc9
commit 56e148408e
2 changed files with 5 additions and 4 deletions
@@ -602,7 +602,6 @@ function RuleStateField() {
{ label: t('alerting.rules.state.normal', 'Normal'), value: PromAlertingRuleState.Inactive },
{ label: t('alerting.rules.state.pending', 'Pending'), value: PromAlertingRuleState.Pending },
{ label: t('alerting.rules.state.recovering', 'Recovering'), value: PromAlertingRuleState.Recovering },
{ label: t('alerting.rules.state.unknown', 'Unknown'), value: PromAlertingRuleState.Unknown },
]}
value={field.value}
onChange={field.onChange}
@@ -762,7 +761,10 @@ function SearchQueryHelp() {
title={t('alerting.search-query-help.title-labels', 'Labels')}
expr='label:team=A label:"cluster=new york"'
/>
<HelpRow title={t('alerting.search-query-help.title-state', 'State')} expr="state:firing|normal|pending" />
<HelpRow
title={t('alerting.search-query-help.title-state', 'State')}
expr="state:firing|normal|pending|recovering"
/>
<HelpRow title={t('alerting.search-query-help.title-type', 'Type')} expr="type:alerting|recording" />
<HelpRow title={t('alerting.search-query-help.title-health', 'Health')} expr="health:ok|nodata|error" />
<HelpRow
+1 -2
View File
@@ -2598,8 +2598,7 @@
"firing": "Firing",
"normal": "Normal",
"pending": "Pending",
"recovering": "Recovering",
"unknown": "Unknown"
"recovering": "Recovering"
},
"type": {
"alert": "Alert rule",