Commit Graph

160 Commits

Author SHA1 Message Date
Ulric Qin 0b491826ee modify metrics order of mysqld_exporters 2022-03-16 15:18:26 +08:00
Ulric Qin e6d4f2540c add some mysql metric descriptions 2022-03-16 14:44:16 +08:00
Ulric Qin fcc75710cb add some mysql metrics of mysqld_exporter 2022-03-16 13:23:35 +08:00
Ulric Qin fde52167b3 delete no use code 2022-03-07 18:21:10 +08:00
Ulric Qin c6356df81f +NotifyBuiltinEnable 2022-03-01 16:27:21 +08:00
Ulric Qin 085bd39684 modify mailbody 2022-03-01 14:02:38 +08:00
Ulric Qin b73bef8a0c lower NotifyConcurrency 2022-03-01 13:52:03 +08:00
Ulric Qin caa37b087c use batch send mail 2022-03-01 13:44:46 +08:00
Ulric Qin b63c853889 use smtp.DialAndSend func 2022-03-01 13:27:23 +08:00
Ulric Qin 2ff79c7780 use golang as sender 2022-03-01 11:16:55 +08:00
Ulric Qin 403cb5a6ad not stable version 2022-02-28 23:50:02 +08:00
Ulric Qin fff5110e9a copy metrics.yaml from https://articles.zsxq.com/id_izcsnhl3dtd6.html 2022-02-13 14:18:15 +08:00
UlricQin b32a7b3a9e add global callback 2022-02-10 17:32:06 +08:00
Ulric Qin dd1147f534 refactor telegraf.service 2022-01-26 09:15:41 +08:00
UlricQin 40e7ede5e3 Merge branch 'main' of github.com:didi/nightingale 2022-01-04 16:47:15 +08:00
UlricQin 9a2257dd1e ldap user default role configuration 2022-01-04 16:47:03 +08:00
Ulric Qin e9ce679649 handle python2 encoding 2021-12-31 11:13:57 +08:00
Ulric Qin 3428b11ea8 configuration for metrics.yaml and templates 2021-12-23 12:53:32 +08:00
Ulric Qin f661a6bd37 refactor dingtalk.tpl 2021-12-17 13:04:39 +08:00
Ulric Qin c3c1aa5aff refactor dingtalk.tpl 2021-12-17 12:24:24 +08:00
Ulric Qin 7bcb6acb03 refactor 2021-12-17 12:11:15 +08:00
Ulric Qin 5b22d65dba add space line 2021-12-17 12:09:35 +08:00
Ulric Qin 8570c2d287 modify dingtalk markdown 2021-12-17 12:05:41 +08:00
Ulric Qin acc797666d test markdown 2021-12-17 11:20:32 +08:00
Ulric Qin b62a42bed8 dingtalk use markdown 2021-12-17 11:05:15 +08:00
Ulric Qin 3babc6c50a fix tple 2021-12-15 19:22:18 +08:00
Ulric Qin a4ef00fe3e add send time 2021-12-15 19:16:39 +08:00
Ulric Qin 95ebc44f05 refactor notify.py 2021-12-14 21:39:01 +08:00
Ulric Qin d2cb48a2ef remove writer name 2021-12-09 23:07:45 +08:00
Ulric Qin 32fea64f3e use configuration file to control AnonymousAccess 2021-12-09 16:59:02 +08:00
Ulric Qin 0e88f0074c add recover_time 2021-12-08 00:07:25 +08:00
Ulric Qin 6c2c8f9900 add feishu support 2021-12-07 18:39:44 +08:00
UlricQin ff79ad1338 add disk and diskio metric description 2021-12-06 10:33:58 +08:00
UlricQin f6703e11c4 add some metric desn 2021-12-06 09:40:14 +08:00
UlricQin 022fef2b9e add telegraf.service 2021-12-05 15:39:49 +08:00
UlricQin 11e7c41908 add EngineDelay 2021-12-01 14:09:08 +08:00
UlricQin 6e3ad3dd6b version 5.1 2021-11-28 18:57:49 +08:00
ning1875 42fc0527cb
1. Move the default ql to the configuration (#764)
2. add slowLogRecordSecond to  log slow query
3. Create a slice with a specified length to avoid dynamic expansion
4. slow query print fetch series time took and the result series num
2021-08-10 15:25:54 +08:00
UlricQin 8b508fc514 code refactor 2021-08-06 18:03:36 +08:00
710leo e29407486d update service file 2021-08-04 22:33:43 +08:00
710leo e14d3eac4d refactor: get notify content by tpl 2021-08-01 18:32:36 +08:00
UlricQin 0c35f32c5c fix send_email 2021-07-27 18:31:50 +08:00
UlricQin f2e3e3dbf1 add WECOM url 2021-07-27 15:42:14 +08:00
李伟强 5045098c91
Update notify.py (#748) 2021-07-27 15:35:37 +08:00
ning1875 ec6f3098bb
notify.py add sys.encoding to avoid coding error (#744) 2021-07-27 11:38:42 +08:00
UlricQin bb148f9bea add more log 2021-07-23 21:15:23 +08:00
ning1875 2d15445482
新增blackbox_exporter支持 (#740)
* 1. notify.py 支持安装channel反射发送
2. 支持钉钉群发送
3. 生成告警模板信息

* 1. notify.py 支持安装channel反射发送
2. 支持钉钉群发送
3. 增加二开说明

* 1. notify.py 用户创建一个虚拟的用户保存上述im群 的机器人token信息 user的contacts map中

* 1. notify.py alerts目录改为原来的

* 1. notify.py dingtalk send continue匹配

* 1. push型告警支持多条件 任意一个触发就触发

* 1. prometheus查询接口 tag-keys tag-values支持 params为空的情况

* 1. prometheus查询接口 ident匹配全部改为精确匹配
2. tagKey 提示改为tag_key

* 1. prometheus查询接口 支持instance_query 对外暴露

* 1. prometheus instance_query改名为instant-query
2. page group中去掉数据查询相关path

* 1. prometheus range_query 时间戳改为秒级
2. 查询支持传入分辨率参数

* 1. 新增jmx_exporter内置大盘

* 1. 新增blackbox_exporter内置大盘
2. 新增blackbox_exporter内置告警策略
2021-07-22 15:23:49 +08:00
ning1875 bedea9eb05
添加jmx_exporter内置大盘图 (#739)
* 1. notify.py 支持安装channel反射发送
2. 支持钉钉群发送
3. 生成告警模板信息

* 1. notify.py 支持安装channel反射发送
2. 支持钉钉群发送
3. 增加二开说明

* 1. notify.py 用户创建一个虚拟的用户保存上述im群 的机器人token信息 user的contacts map中

* 1. notify.py alerts目录改为原来的

* 1. notify.py dingtalk send continue匹配

* 1. push型告警支持多条件 任意一个触发就触发

* 1. prometheus查询接口 tag-keys tag-values支持 params为空的情况

* 1. prometheus查询接口 ident匹配全部改为精确匹配
2. tagKey 提示改为tag_key

* 1. prometheus查询接口 支持instance_query 对外暴露

* 1. prometheus instance_query改名为instant-query
2. page group中去掉数据查询相关path

* 1. prometheus range_query 时间戳改为秒级
2. 查询支持传入分辨率参数

* 1. 新增jmx_exporter内置大盘
2021-07-21 14:20:01 +08:00
UlricQin c7b00ee8c6 rename default dash 2021-07-18 15:08:14 +08:00
710leo a628d5bb59 docs: change tpl and sql 2021-07-17 18:48:55 +08:00