Skip to Content
Hands-On Software Engineering with Golang
book

Hands-On Software Engineering with Golang

by Achilleas Anagnostopoulos
January 2020
Intermediate to advanced
640 pages
16h 56m
English
Packt Publishing
Content preview from Hands-On Software Engineering with Golang

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:

name: <string>
email_configs:
  [ - <email_config>, ... ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Software Architecture with Golang

Hands-On Software Architecture with Golang

Jyotiswarup Raiturkar

Publisher Resources

ISBN: 9781838554491Supplemental Content