Prometheus Alertmanager告警模板 alert manager标签

【Prometheus Alertmanager告警模板_Blue summer的博客-CSDN博客】
原文:https://blog.csdn.net/u010039418/article/details/111369486

Prometheus role模板:
https://blog.csdn.net/yeqinghanwu/article/details/126367493

3、Alert数据结构
告警的数据结构主要如下,

Name Type Notes
Status string Defines whether or not the alert is resolved or currently firing.
Labels KV A set of labels to be attached to the alert.
Annotations KV A set of annotations for the alert.
StartsAt time.Time The time the alert started firing. If omitted, the current time is assigned by the Alertmanager.
EndsAt time.Time Only set if the end time of an alert is known. Otherwise set to a configurable timeout period from the time since the last alert was received.
GeneratorURL string A backlink which identifies the causing entity of this alert.
3.1 Labels
Labels为prometheus web上告警时的label,如下
在这里插入图片描述

————————————————
版权声明:本文为CSDN博主「Blue summer」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/u010039418/article/details/111369486

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值