Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

post/prometheus-alert-why/ #20

Open
utterances-bot opened this issue Mar 4, 2021 · 7 comments
Open

post/prometheus-alert-why/ #20

utterances-bot opened this issue Mar 4, 2021 · 7 comments

Comments

@utterances-bot
Copy link

我的 Promtheus 到底啥时候报警?

https://aleiwu.com/post/prometheus-alert-why/

Copy link

mark8s commented Mar 4, 2021

优秀~~ 感谢大佬

Copy link

lzw5399 commented May 21, 2021

学习了,感谢分享:)

Copy link

你的表达式中的for写2min,是不是可以和下面的讲解就对应起来了

Copy link

如果expr中的指标包含了多个instance,
例如如果 expr: probe_success{job = "nginx"} == 0
实际在采集指标包含两个instance,那么 如果设置了 for: 2m,那么是要求这两个instance都要持续2m中触发规则,才会产生报警?

Copy link

您好~我是腾讯云+社区的运营,关注了您分享的技术文章,觉得内容很棒,我们诚挚邀请您加入腾讯云自媒体分享计划。完整福利和申请地址请见:https://cloud.tencent.com/developer/support-plan
作者申请此计划后将作者的文章进行搬迁同步到社区的专栏下,你只需要简单填写一下表单申请即可,我们会给作者提供包括流量、云服务器等,另外还有些周边礼物。
我们诚挚的邀请您并期待您的加入~

Copy link

Liubey commented Oct 20, 2022

如果 for: 0m,表示的则是只要触碰了阈值,就立马告警,对吧?

Copy link

博主这里firing的时间是不是不对,要从进入pending的时间点80s开始算,再持续2分钟,应该是200s的时候进入firing告警

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants