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

Routing alerts to receivers

Now, let's take a closer look at the tree-based mechanism used by the Alertmanager for routing incoming alerts to a particular receiver. The top-level section of the Alertmanager's configuration file must always define a route block. The block represents the root node of the tree and can contain the following set of fields:

  • match: Specifies a set of label values that must match the values from the incoming alert to consider the current route node as matched.
  • match_re: Similar to match, with the exception that label values are matched against a regular expression.
  • receiver: The name of the receiver to deliver the incoming alert to if the alert matches the current route.
  • group_by: A list of label names to group ...
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