May 2019
Intermediate to advanced
442 pages
11h 36m
English
Before we dive into creating a template, we must first realize what kind of data structures are sent to the notification templates. The following table depicts the available variables that can be used:
|
Variable |
Description |
|
Alerts |
A list of Alert structures, each one with its own Status, Labels, Annotations, StartsAt, EndsAt, and GeneratorURL |
|
CommonAnnotations |
The annotations that are common to all alerts |
|
CommonLabels |
The labels that are common to all alerts |
|
ExternalURL |
The URL for the Alertmanager that sent the alert |
|
GroupLabels |
The labels that are used in the grouping of alerts |
|
receiver |
The receiver that will handle the notification |
|
status |
This will be firing as long ... |