Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upAlert annotations disappear when using templating #2424
Comments
This comment has been minimized.
This comment has been minimized.
|
Alertmanager attempts to aggregate alerts along grouping labels you specified. In your AM config, there are non, which means that all alerts go into one large group. You still have all alerts within the notification available to iterate over. But it's not a good idea as there might be many. Generally, you probably want to avoid instance all together as it doesn't make for good alert aggregations. But if you want that level of granularity, you can add a |
brian-brazil
closed this
Mar 27, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
clockworksoul commentedFeb 14, 2017
•
edited
Apologies if this belongs elsewhere.
What did you do?
Created a configuration with three rules (copy/pasted below)
{{ $value }}in the description. The description fails to appear.{{ $labels.instance }}in the description. It fails similarly.What did you expect to see?
The following output in Slack:
What did you see instead? Under which circumstances?
Environment
Deploying in a Kops-managed K8s cluster
Prometheus version:
v1.5.2Alertmanager version:
v0.5.1Prometheus configuration file:
This may or may not be relevant: output of
alertmanager-mainon config (re)load: