Hi everyone! I am configuring alertmanager to send outputs to a prod slack channel and dev slack channel. I have checked with the routing tree editor and everything should be working correctly. However, I am seeing some (not all) alerts that are tagged with 'env: dev' being sent to the prod slack channel. Is there some sort of old configuration caching happening? Is there a way to flush this out?
--- Alertmanager.yml --- global: http_config: proxy_url: 'xyz' templates: - templates/*.tmpl route: group_by: [cluster,alertname] group_wait: 10s group_interval: 30m repeat_interval: 24h receiver: 'slack' routes: - receiver: 'production' match: env: 'prod' continue: true - receiver: 'staging' match: env: 'dev' continue: true receivers: #Fallback option - Default set to production server - name: 'slack' slack_configs: - api_url: 'api url' channel: '#prod-channel' send_resolved: true color: '{{ template "slack.color" . }}' title: '{{ template "slack.title" . }}' text: '{{ template "slack.text" . }}' actions: - type: button text: 'Query :mag:' url: '{{ (index .Alerts 0).GeneratorURL }}' - type: button text: 'Silence :no_bell:' url: '{{ template "__alert_silence_link" . }}' - type: button text: 'Dashboard :grafana:' url: '{{ (index .Alerts 0).Annotations.dashboard }}' - name: 'staging' slack_configs: - api_url: 'api url' channel: '#staging-channel' send_resolved: true color: '{{ template "slack.color" . }}' title: '{{ template "slack.title" . }}' text: '{{ template "slack.text" . }}' actions: - type: button text: 'Query :mag:' url: '{{ (index .Alerts 0).GeneratorURL }}' - type: button text: 'Silence :no_bell:' url: '{{ template "__alert_silence_link" . }}' - type: button text: 'Dashboard :grafana:' url: '{{ (index .Alerts 0).Annotations.dashboard }}' - name: 'production' slack_configs: - api_url: 'api url' channel: '#prod-channel' send_resolved: true color: '{{ template "slack.color" . }}' title: '{{ template "slack.title" . }}' text: '{{ template "slack.text" . }}' actions: - type: button text: 'Query :mag:' url: '{{ (index .Alerts 0).GeneratorURL }}' - type: button text: 'Silence :no_bell:' url: '{{ template "__alert_silence_link" . }}' - type: button text: 'Dashboard :grafana:' url: '{{ (index .Alerts 0).Annotations.dashboard }}' -- 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 prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/af14f1af-2570-4f7f-a7dc-a9bbb303333dn%40googlegroups.com.