ui(alerting): show correct tooltip when label search includes spaces (#113038)
This commit is contained in:
@@ -368,7 +368,10 @@ function SearchQueryHelp() {
|
||||
/>
|
||||
<HelpRow title={t('alerting.search-query-help.title-group', 'Group')} expr="group:cpu-usage" />
|
||||
<HelpRow title={t('alerting.search-query-help.title-rule', 'Rule')} expr='rule:"cpu 80%"' />
|
||||
<HelpRow title={t('alerting.search-query-help.title-labels', 'Labels')} expr="label:team=A label:cluster=a1" />
|
||||
<HelpRow
|
||||
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-type', 'Type')} expr="type:alerting|recording" />
|
||||
<HelpRow title={t('alerting.search-query-help.title-health', 'Health')} expr="health:ok|nodata|error" />
|
||||
|
||||
@@ -729,7 +729,10 @@ function SearchQueryHelp() {
|
||||
/>
|
||||
<HelpRow title={t('alerting.search-query-help.title-group', 'Group')} expr="group:cpu-usage" />
|
||||
<HelpRow title={t('alerting.search-query-help.title-rule', 'Rule')} expr='rule:"cpu 80%"' />
|
||||
<HelpRow title={t('alerting.search-query-help.title-labels', 'Labels')} expr="label:team=A label:cluster=a1" />
|
||||
<HelpRow
|
||||
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-type', 'Type')} expr="type:alerting|recording" />
|
||||
<HelpRow title={t('alerting.search-query-help.title-health', 'Health')} expr="health:ok|nodata|error" />
|
||||
|
||||
Reference in New Issue
Block a user