Configuring alert receivers

A receiver is nothing more than a fancy way of referring to a collection of notification integrations that can send out alerts through various channels. Out of the box, the Alertmanager supports the following integrations:

  • Email: Send out an email with alert details
  • Slack/Hipchat/WeChat: Post alert details to a chat service
  • PagerDuty/Opsgenie/VictorOps: Send a page notification to the SRE currently on call
  • WebHooks: An escape hatch for implementing custom integrations

When the Alertmanager loads its configuration file, it looks for the list of receiver definitions under the top-level receivers key. Each receiver block must adhere to the following schema:

Get Hands-On Software Engineering with Golang now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.