Hi,
We have configured Prometheus-based alerts for our system and it works
fine. The alerts are going to specific channels in Slack and Teams. For the
purpose generating tickets and auto-closure of tickets (on resolved
messages) we are sending Resolved status for one single alert. Now, the
support guys are looking into alerts in the main slack channel and they
don't want to receive the resolved notification there (which is mainly for
auto closure of ticket). Is there any way we can send the Resolved
notifications to another channel instead of the channel where it posts the
alerts?
This is an excerpt from the config
```
- match_re:
component: 'platform'
receiver: 'slack-notifications-platform'
continue: false
- name: 'slack-notifications-platform'
slack_configs:
- send_resolved: true
api_url:
'https://hooks.slack.com/services/T091V/B8UHDTR/hfY66GDhwvRD5myKbZ88cva'
channel: '#telemetry_alerts_ops'
color: '{{ if eq .Status "resolved" }}good{{ else }}{{ if eq
.CommonLabels.severity "minor"}}warning{{ else }}danger{{ end }}{{ end }}'
title: '{{ if gt (.Alerts.Firing | len) 0 }}[FIRING: {{ .Alerts.Firing |
len }}]{{ end }}{{ if gt (.Alerts.Resolved | len) 0 }}[RESOLVED: {{
.Alerts.Resolved | len }}]{{ end }}{{ .GroupLabels.alertname }} ({{
.CommonLabels.severity }})'
text: '{{ template "slack.common.text" . }}'
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/c91c3534-676f-4af4-8900-499e54111c8ao%40googlegroups.com.