Skip to main content

We use cookies for essential site functions and anonymous analytics. Choose what to allow.

Accepts all cookies and closes this banner
Reject All
Open-Source Monitoring Guide

Prometheus AlertManager in Slack & Microsoft Teams

KM

Kumar Makala · Founder & CEO, SyncRivo

Kumar Makala leads platform engineering and technical content at SyncRivo, focused on enterprise messaging interoperability, messaging bridge architecture, and cross-platform integration patterns across Slack, Microsoft Teams, Google Chat, Zoom Team Chat, and Cisco Webex. LinkedIn

Updated · 10 min read

AlertManager receivers post Prometheus alerts to your chat platforms. SyncRivo bridges the human discussion between Slack, Teams, Webex, and more, so SRE and engineering teams can work the incident together.

AlertManager Configuration

Example Slack receiver in your alertmanager.yml:

receivers:
  - name: 'sre-slack'
    slack_configs:
      - api_url: 'https://hooks.slack.com/services/YOUR/WEBHOOK/URL'
        channel: '#sre-alerts'
        send_resolved: true

route:
  receiver: 'sre-slack'
  # Or route specific labels:
  routes:
    - match:
        severity: critical
      receiver: 'sre-slack'

AlertManager posts the alert to Slack directly. SyncRivo does not receive AlertManager webhooks; it bridges the human discussion between chat platforms.

What AlertManager Delivers

AlertManager handles firing alerts, resolutions, grouping, and inhibition itself. SyncRivo does not relay bot or app messages; it bridges the human discussion.

Firing Alerts

AlertManager firing groups posted to SRE channels by AlertManager receivers.

Resolved Notifications

Alert resolution events (send_resolved: true) posted so stakeholders know the issue is cleared.

Severity-Based Routing

AlertManager's routing tree sends critical and warning alerts to different receivers based on labels.

Grouped Alerts

AlertManager grouped alert batches delivered as a single notification to avoid notification storms.

Inhibited Alert Handling

AlertManager inhibition rules suppress alerts before they reach any receiver.

Grafana Alertmanager

Grafana-managed alerts (Grafana 8+ built-in Alertmanager) delivered through Grafana contact points.

How to Connect AlertManager to Slack & Teams

AlertManager posts the alerts; SyncRivo bridges the conversation. Requires access to your alertmanager.yml and admin approval of the SyncRivo apps.

  1. 1
    Add a slack_configs receiver in alertmanager.yml
    Under receivers, add a receiver with slack_configs (api_url and channel) and send_resolved: true.
  2. 2
    Add a receiver for Teams
    Add a webhook_configs receiver pointing to a Teams-forwarding service you operate, and route it in your routing tree.
  3. 3
    Connect Slack and Teams to SyncRivo
    Book a demo to start a guided pilot. Your Slack and Microsoft Teams admins approve the SyncRivo apps. SyncRivo does not relay messages posted by bots and apps.
  4. 4
    Bridge the channels where alerts are discussed
    Bridge the SRE Slack channel with the engineering Teams channel so both teams can discuss incidents in one conversation.
  5. 5
    Test the bridged conversation
    Post a human message in the Slack channel and confirm it appears in the bridged Teams channel, then reply from Teams.

AlertManager → Messaging Platform Routing Matrix

Example setup: AlertManager receivers post each alert; SyncRivo bridges the human discussion between the channels shown.

AlertManager EventAlertManager Receiver Posts ToResult
severity=critical firing→ Slack #sre-alerts + Teams #engineering-incidentsSRE and leadership discuss it in the bridged channel
severity=warning firing→ Slack #sre-alertsTeam channel only — no leadership escalation
alert resolved (status=resolved)→ Channels on the receiverAll-clear posted by AlertManager
grouped alert batch (3 alerts)→ Slack #sre-alertsSingle grouped notification — no notification storm
Grafana Alertmanager contact point→ Slack #sre-alertsGrafana posts; SRE discusses with Teams colleagues in the bridged channel
team=payments firing→ Slack #payments-sreLabel matching in AlertManager; payments engineers on Teams join via the bridge

Frequently Asked Questions

How do I send Prometheus AlertManager alerts to Slack?▾

Prometheus AlertManager has a built-in Slack receiver. In your alertmanager.yml, configure a receiver with the slack_configs section, providing your Slack webhook URL or API token and a channel name. SyncRivo does not receive AlertManager webhooks or relay alerts — messages posted by bots and apps are not bridged. Once alerts post in Slack, SyncRivo can bridge the human discussion with Teams and other chat platforms.

Can Prometheus AlertManager send alerts to Microsoft Teams?▾

AlertManager does not have a native Teams receiver in this setup. The standard approach is to use the "webhook_configs" receiver in AlertManager pointing to a service you operate that translates and forwards to Teams. SyncRivo is not that relay: it does not receive AlertManager webhooks, and messages posted by bots and apps are not bridged. SyncRivo bridges the human conversation between Slack and Teams channels.

How do I configure AlertManager to send to multiple Slack channels at once?▾

AlertManager natively supports multiple receivers and routing rules — you can route different alert labels to different Slack channels, and add a receiver per destination platform. SyncRivo is not a fan-out layer for alerts; it bridges the human discussion between chat platforms.

What is the best way to send Prometheus alerts to Teams and Slack at the same time?▾

Configure two AlertManager receivers: slack_configs for Slack, and a webhook_configs receiver pointing to a Teams-forwarding service you operate. SyncRivo does not receive AlertManager webhooks or relay alerts — messages posted by bots and apps are not bridged. Use SyncRivo to bridge the Slack and Teams channels where SREs and engineering discuss the alerts.

Does SyncRivo support Alertmanager webhook payloads?▾

No. SyncRivo does not accept AlertManager webhook payloads or any other inbound webhooks, and messages posted by bots and apps are not bridged. Use AlertManager's own receivers to deliver alerts; SyncRivo bridges the human conversation between Slack, Teams, Webex, Google Chat, and Zoom Team Chat.

Can I use SyncRivo with Grafana Alertmanager (Grafana-managed alerts)?▾

Only for the human conversation. Grafana's built-in Alertmanager has its own contact points (including Slack and webhooks) to deliver alerts; SyncRivo does not receive them. SyncRivo bridges the channels where teams discuss those alerts across platforms.

How does SyncRivo handle AlertManager grouping and inhibition?▾

It does not need to — SyncRivo does not receive AlertManager alerts. AlertManager applies grouping and inhibition before delivering to its receivers. SyncRivo only bridges the human messages people post in bridged channels.

Bring every engineering team into the alert discussion

Guided pilot on your own channels. AlertManager posts the alerts; SyncRivo bridges the conversation.

cookie_consent.banner.aria_announcement