Skip to content

告警经常不触发,帮忙看一下 #929

Closed Answered by kl7sn
hedongfang asked this question in Q&A
Discussion options

You must be logged in to vote

https://clickvisual.gocn.vip/zh/clickvisual/03funcintro/alarm-function-configuration-description.html#%E6%9E%B6%E6%9E%84%E8%AF%B4%E6%98%8E

告警数据的设计是通过物化视图降数据写入 metrics.samples 表中,可以先观测下该表中的数据是否符合预期。

graphite_rollup 的配置调整,影响 metrics.samples 表数据聚合

  • 调整前:每秒的数据取和
  • 调整后:每五秒的数据取平均

触发条件:这个和 prometheus 的 rules 有关系,应该不在排查范围内,我们确保 metrics.samples 的数据是准确的应该就可以了。

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kl7sn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants