Commit Graph

966 Commits

Author SHA1 Message Date
710leo b947a466a9 fix: alert ineffective on sunday 2021-07-25 18:19:18 +08:00
710leo 4063998ddb docs: change user.role to user.roles in sql 2021-07-24 23:48:13 +08:00
UlricQin 266397bac3 hehe... 2021-07-24 23:47:33 +08:00
UlricQin f023b99fa9 Merge branch 'master' of https://github.com/didi/nightingale 2021-07-23 21:15:41 +08:00
UlricQin bb148f9bea add more log 2021-07-23 21:15:23 +08:00
710leo 7bdcbf2e95 Merge branch 'master' of https://github.com/didi/nightingale 2021-07-23 12:15:19 +08:00
710leo 070d1947e8 feat: temporary support for creating collection configurations api 2021-07-23 12:15:08 +08:00
UlricQin a4c244cb61 modify user_group_ids of alert_rule_group when user_group deleted 2021-07-23 12:03:47 +08:00
UlricQin e089271f78 code refactor 2021-07-22 23:41:22 +08:00
UlricQin 24887cce83 use group get api: handle empty usergroup 2021-07-22 23:34:06 +08:00
UlricQin 0f7a81ff11 fill objs when return alert event 2021-07-22 23:30:12 +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
UlricQin 3236d7dfd1 code refactor for name checker 2021-07-22 14:51:14 +08:00
UlricQin 8a06cac5f1 bugfix: check perm for alert_rule_delete_batch 2021-07-22 14:44:44 +08:00
UlricQin 60d5c6b55e modify readme 2021-07-22 09:51:39 +08:00
UlricQin 77c6e0dbff Merge branch 'master' of https://github.com/didi/nightingale 2021-07-21 18:13:43 +08:00
UlricQin 3e22aabe28 tag value support blank 2021-07-21 18:11:45 +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
ning1875 0d8e5ec77c
prometheus range_query 时间戳和分辨率 (#738)
* 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. 查询支持传入分辨率参数
2021-07-20 16:15:06 +08:00
UlricQin de840af331
Multi roles support (#737)
* support multi user roles

* resources list support search tags and note
2021-07-20 14:40:50 +08:00
710leo 255b2b2320 fix: router path duplicate 2021-07-19 19:31:58 +08:00
ning1875 034b7a642e
refactor: rename instance_query to instant_query 2021-07-19 19:17:22 +08:00
710leo 407f9ca6ad refactor: change query default resolution 2021-07-19 16:27:37 +08:00
ning1875 bf1d8b1be4
feat: add instance_query api (#731) 2021-07-19 16:14:52 +08:00
UlricQin 562f3ea937 code refactor 2021-07-18 16:39:10 +08:00
UlricQin 0a29fb89c4 test xorm 2021-07-18 16:30:02 +08:00
UlricQin 27daddcb72 bugfix: query alert event 2021-07-18 16:16:57 +08:00
UlricQin c7b00ee8c6 rename default dash 2021-07-18 15:08:14 +08:00
UlricQin 1d7c7fd8af add i18n configuration 2021-07-18 09:04:01 +08:00
710leo 6b06e78b61 Merge branch 'master' of https://github.com/didi/nightingale 2021-07-17 19:33:53 +08:00
710leo 9ec1882032 docs: update changelog 2021-07-17 19:33:46 +08:00
Ulric Qin 18fc86d68a refactor plugin example 2021-07-17 19:27:10 +08:00
710leo a628d5bb59 docs: change tpl and sql 2021-07-17 18:48:55 +08:00
710leo df1e1cd334 docs: upgrade 5.0.0-rc2 2021-07-17 17:03:47 +08:00
710leo d6c6eaa064 refactor: series push api 2021-07-17 15:37:16 +08:00
yubo b4bdb08dc1
fix: support gzip/zlib with series push (#734) 2021-07-17 14:56:10 +08:00
Ulric Qin ae9c21e293 code refactor 2021-07-16 23:46:11 +08:00
Ulric Qin b65c8f696b check tag key 2021-07-16 23:30:09 +08:00
UlricQin 88e6e4bf56 add plugin example 2021-07-16 20:29:34 +08:00
UlricQin 8f4597045d rename preset classpath all->all.resources 2021-07-16 20:02:56 +08:00
UlricQin a7f12ad871 support query data use guest 2021-07-16 18:41:11 +08:00
UlricQin 4e791d50d4 refactor warning info at api: check regexp 2021-07-16 08:30:48 +08:00
UlricQin 9758e55b72 code refactor: extract _s and _e func 2021-07-15 18:46:40 +08:00
710leo 473239cc9a refactor: format history points timestamp 2021-07-10 02:42:57 +08:00
710leo 477cac6ca9 fix: process event mute 2021-07-10 02:32:28 +08:00
710leo 258e9738f7 feat: add tpl & status api 2021-07-09 20:13:28 +08:00
ning1875 39de0892f1
fix: query index api 2021-07-08 20:37:23 +08:00
710leo 36ec4e09fd docs: add docs 2021-07-06 23:00:44 +08:00
710leo aa4e6b7f36 feat: dashboards import and export 2021-07-06 22:52:36 +08:00
qinyening 6440645c5a
feat: alert rule api fill users and groups (#723) 2021-07-06 21:33:19 +08:00