问题描述
我们将学习 Alertmanager 的使用方法,并整理学习笔记,学习资料为以下文档:
ALERTING
— Alerting overview
— Alertmanager
— Configuration
— Clients
— Notification template reference
— Notification template examples
— Management API
— HTTPS and authentication
该笔记将记录:Alertmanager 的使用方法,其主要内容是对官方文档的学习、记录、整理,还包含部分常用配置示例。子章节将记录如何使用 Alertmanager 完成具体的工作任务,比如 配置 Slack 告警、定制告警消息格式。
Notification template reference | Prometheus
Notification template examples | Prometheus
Management API | Prometheus
HTTPS and authentication | Prometheus
解决方案
这里的主要内容均来自于官方文档,但是提取出主要及关键内容,能让我们形成对 Alertmanger 的整体认识。
相关链接
Awesome Prometheus alerts | Collection of alerting rules
参考文献
How to check your prometheus.yml is valid – Robust Perception | Prometheus Monitoring Experts
How do I configure the log level of Prometheus’ Alertmanager? – Server Fault
alertmanager/simple.yml at master · prometheus/alertmanager
What’s the difference between group_interval, group_wait, and repeat_interval? – Robust Perception | Prometheus Monitoring Experts
Prometheus: understanding the delays on alerting