实现报警功能 #1161
Unanswered
kailongapple
asked this question in
Q&A
实现报警功能
#1161
Replies: 1 comment
-
|
使用外部prom2click 可以解决重启问题 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
前言
官方文档
https://clickvisual.net/zh/clickvisual/03funcintro/alarm-function-configuration-description.html#%E6%9E%B6%E6%9E%84%E8%AF%B4%E6%98%8E
报警流程
告警触发流程图
部署
部署prometheus 和alertmanager
使用github的yaml
#修改连接地址
#去掉默认命名空间配置
#部署
告警环境初始化
接入k8s

系统管理-->集群管理-->新增集群
配置prometheus和指定告警规则写入的Configmap
报警-->环境检测-->编辑告警环境
clickhouse
#配置报警规则
报警-->报警列表-->新增报警--
这个会写入prometheus的告警规则的confmap
检查报警规则是否正常

关于告警模式

将符合查询条件的数据写入告警表
默认是 普通 统计单位时间内的数据的数量

聚合 查询告警标准的val数值
目前问题
clickvisual 会自动重启
Beta Was this translation helpful? Give feedback.
All reactions