add label_matcher param to filter alerts (#5353)

Signed-off-by: junot <junotxiang@kubesphere.io>

Signed-off-by: junot <junotxiang@kubesphere.io>
This commit is contained in:
junot
2022-11-08 11:15:26 +08:00
committed by GitHub
parent ea694684a0
commit 2b37422645
3 changed files with 40 additions and 6 deletions

View File

@@ -35,6 +35,7 @@ const (
// for alert
FieldAlertLabelFilters = "label_filters"
FieldAlertActiveAt = "activeAt"
FieldAlertLabelMatcher = "label_matcher"
)
var SortableFields = []string{