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
ning1875
2f060cfb43
1. set Config.Heartbeat.LocalAddr when ip can not fetch by auto detect ( #761 )
...
2. upgrade snappy to v0.0.3 to avoid the following failure on Go 1.16
2021-08-06 12:19:36 +08:00
Istil
4eb79fb017
feat: support history alert events store ( #760 )
2021-08-06 12:16:32 +08:00
ning1875
c38d595cb8
1. fix CommonQuerySeries.Warning range nil pointer err ( #759 )
2021-08-05 11:04:50 +08:00
710leo
e29407486d
update service file
2021-08-04 22:33:43 +08:00
710leo
4d3ca94e4c
docs: upgrade 5.0.0-rc4
2021-08-04 17:56:26 +08:00
710leo
e27ec8136e
refactor: remote write log print
2021-08-04 14:26:53 +08:00
ning1875
9383976918
1. delete recovery event from cache after event is really mark recovery ( #758 )
2021-08-04 12:14:47 +08:00
710leo
8764270f47
feat: support permission check api
2021-08-04 11:05:54 +08:00
Istil
2ef85d9aae
feat: support batch edit notify-users, notify-channels and append-tags of alert rule ( #757 )
2021-08-03 14:20:22 +08:00
201806060205
5064e5b0b1
feat: support batch edit notify groups of alert rule ( #756 )
2021-08-02 20:16:43 +08:00
ning1875
72244b1983
1. remove some todo ( #755 )
2021-08-02 17:37:55 +08:00
710leo
e14d3eac4d
refactor: get notify content by tpl
2021-08-01 18:32:36 +08:00
UlricQin
62cbe4a833
Merge branch 'master' of https://github.com/didi/nightingale
2021-07-30 16:03:44 +08:00
UlricQin
6040e79d50
sort classpaths of event
2021-07-30 16:03:25 +08:00
710leo
ffe3dd6bca
refactor: alert rule name duplicate check
2021-07-30 13:30:50 +08:00
710leo
853053f56d
fix: alert rule put
2021-07-30 10:58:42 +08:00
710leo
dde431b422
Merge branch 'master' of https://github.com/didi/nightingale
2021-07-30 10:38:54 +08:00
ning1875
e6cf77f34b
1. query nodata at one ts fill none ( #753 )
2021-07-30 10:19:03 +08:00
UlricQin
834a5e83ee
Merge branch 'master' of https://github.com/didi/nightingale
2021-07-30 10:14:34 +08:00
UlricQin
f2173bff26
log regexp checker
2021-07-30 10:14:17 +08:00
710leo
c4b1da66d4
docs: change metric_description sql
2021-07-29 20:32:19 +08:00
ning1875
9c9f2973f8
1. fix remote write err assert on recoverableError ( #749 )
2021-07-28 12:11: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
20e34bfe15
1. tag-pair support fuzzy matching search ( #747 )
2021-07-27 15:07:54 +08:00
dependabot[bot]
0f63feed22
build(deps): bump github.com/gin-gonic/gin from 1.6.3 to 1.7.0 ( #746 )
...
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin ) from 1.6.3 to 1.7.0.
- [Release notes](https://github.com/gin-gonic/gin/releases )
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gin-gonic/gin/compare/v1.6.3...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-27 15:06:58 +08:00
ning1875
ec6f3098bb
notify.py add sys.encoding to avoid coding error ( #744 )
2021-07-27 11:38:42 +08:00
UlricQin
53f08eae30
Update build.sh ( #745 )
2021-07-27 11:28:11 +08:00
ning1875
cade83f075
添加debug日志 ( #743 )
...
* 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内置告警策略
* 1. 添加一些debug帮助定位恢复的告警在db event中删除的过程
2021-07-26 17:36:32 +08:00
710leo
af93088d2f
refactor: change collect config
2021-07-26 14:44:03 +08:00
710leo
e396ad4f67
refactor: change collect config
2021-07-25 21:41:37 +08:00
Ulric Qin
979a77eafa
simplify logs
2021-07-25 18:52:06 +08:00
UlricQin
c0b42cf29a
bugfix: reuse error var in remoteWriteProm ( #741 )
...
* fix: reuse error var when remoteWritePost
* add debug log
* remove logs
2021-07-25 18:23:47 +08:00
710leo
ae4f20bca1
Merge branch 'master' of https://github.com/didi/nightingale
2021-07-25 18:19:48 +08:00
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