File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,6 +136,8 @@ spec:
136136 {{- if .Values.alerta.alerts.slack.url }}
137137 - name : " SLACK_WEBHOOK_URL"
138138 value : " {{ .Values.alerta.alerts.slack.url }}"
139+ - name : SLACK_SEVERITY_FILTER
140+ value : " {{ .Values.alerta.alerts.slack.severityFilter }}"
139141 {{- end }}
140142
141143 ports :
Original file line number Diff line number Diff line change 2424 "description" : " Configuration uri for Slack alerts." ,
2525 "type" : " string" ,
2626 "default" : " "
27+ },
28+ "severityFilter" : {
29+ "description" : " List of severities to filter for Slack alerts (e.g. \" critical,major\" )." ,
30+ "type" : " string" ,
31+ "default" : " "
2732 }
2833 }
2934 },
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ logsStorages:
103103
104104# # @typedef {struct} SlackAlerts - Slack alert configuration.
105105# # @field {string} url - Configuration uri for Slack alerts.
106+ # # @field {string} [severityFilter] - List of severities to filter for Slack alerts (e.g. "critical,major").
106107
107108# # @typedef {struct} Alerts - Alert routing configuration.
108109# # @field {TelegramAlerts} [telegram] - Configuration for Telegram alerts.
@@ -132,6 +133,7 @@ alerta:
132133 disabledSeverity : " "
133134 slack :
134135 url : " "
136+ severityFilter : " "
135137# #
136138# # @section Grafana configuration
137139# #
You can’t perform that action at this time.
0 commit comments