使用普羅米修斯進行警報分爲兩部分。 Prometheus服務器中的警報規則會向Alertmanager發送警報。 而後,Alertmanager管理這些警報,包括靜音,禁止,聚合以及經過電子郵件,PagerDuty和HipChat等方法發送通知。git
設置警報和通知的主要步驟以下:github
Prometheus官網地址:prometheus.io/ 個人Github:github.com/Alrights/pr…服務器