chenxuan
f9af916352
fix alert put api not verify bug ( #987 )
2022-06-20 11:50:14 +08:00
xtan
90db12b513
Fix:fix target_up nodata judge for prometheus scrape ( #986 )
2022-06-17 22:44:25 +08:00
Ulric Qin
7d326ef306
use metrics as hash key
2022-06-17 09:56:10 +08:00
Ulric Qin
d0b005fb14
code refactor: set createBy when update metric_view
2022-06-16 13:17:58 +08:00
Ulric Qin
63adcc2cd9
bugfix for alert-aggr-views
2022-06-15 14:01:01 +08:00
Ulric Qin
94e1359895
fix handler: NotifyMaxNumber
2022-06-10 17:49:48 +08:00
Ulric Qin
1bcc5b77ec
remote write and read: support header
2022-06-10 17:37:33 +08:00
Ulric Qin
ae622e0c08
fix
2022-06-10 16:36:47 +08:00
Ulric Qin
c951f7d822
support max notify number
2022-06-10 16:26:53 +08:00
Ulric Qin
6a366acc74
modify log level
2022-06-10 15:39:45 +08:00
Ulric Qin
a5f7d5e9cf
modify log level
2022-06-10 15:15:13 +08:00
Ulric Qin
ea2249c30c
forward samples in sequence
2022-06-10 14:20:18 +08:00
Ulric Qin
a8c60c9f2b
alert_aggr_view support modify by admin
2022-06-10 13:55:26 +08:00
xtan
0581e02cf3
Feat:add common template functions ( #976 )
...
* Feat:增加常用模板函数
* Feat:修改增加模板函数的实现方式
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-06-08 20:40:45 +08:00
Ulric Qin
e5c1641b6b
code refactor: move struct ReaderOptions to config
2022-06-07 18:00:11 +08:00
Ulric Qin
3899144f8f
add header for writer post
2022-06-07 17:56:23 +08:00
ning
0e5aea40e8
Merge branch 'main' of github.com:ccfos/nightingale
2022-06-02 11:07:40 +08:00
ning
1dbfcd3dc8
refactor: service api
2022-06-02 11:07:31 +08:00
Ulric Qin
495632a064
fix alert rule delete by service
2022-06-01 12:58:09 +08:00
Ulric Qin
ab5e8c366e
code refactor
2022-05-31 14:44:57 +08:00
Ulric Qin
ce35e23a0f
modify alert rule verify
2022-05-31 13:08:09 +08:00
Ulric Qin
c3adcc877a
use standalone mode when RedisType is blank
2022-05-30 08:39:35 +08:00
xtan
7f92e921b4
Feat:增加对redis集群模式、哨兵模式的支持 ( #965 )
...
* 修复go plugin相关错误
* Feat:增加对redis集群模式、哨兵模式的支持
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-05-30 08:36:17 +08:00
caojiaqiang
e22a4394f7
feat: 告警处理出错给Maintainer管理员发送告警信息 ( #955 )
...
* feat: 告警处理出错给管理员发送告警信息
* feat: 告警处理出错给管理员发送告警信息,发送信息自己拼接,不使用模版
* feat: 告警处理出错给管理员发送告警信息,不实用AlertCurEvent结构
* feat: 告警处理出错给管理员发送告警信息,日志打印、文本发送优化
2022-05-27 19:00:41 +08:00
Yening Qin
c040dffb5f
feat: add some service api
...
* feat: add some service api
2022-05-25 15:14:52 +08:00
Ulric Qin
c2f2a7d5e2
use post method to get datasources
2022-05-23 13:31:05 +08:00
Ulric Qin
fd29d18312
delete no use code
2022-05-23 13:29:08 +08:00
Ulric Qin
2f724075b2
loop load clusters from api
2022-05-23 13:13:35 +08:00
Ulric Qin
06224e4b20
refactor
2022-05-22 17:03:57 +08:00
Ulric Qin
f81888cd8a
get prometheus info from api. code skelton
2022-05-22 16:56:58 +08:00
Ulric Qin
6a7b543ad6
add mutex for prom transport
2022-05-22 12:45:25 +08:00
ulricqin
ecc51001c3
New Dashboard and support variables in alert_rule_note ( #953 )
...
* change alert rule
* Db connect update (#939 )
* update target's cluster field when clustername modified in server.conf
* code refactor
* db connect update
* delete DriverName
Co-authored-by: Ulric Qin <ulric.qin@gmail.com>
Co-authored-by: zhangjiandong <zhang.jiandong@baiso.com>
* update sql struct
* change sql
* add some files for new dashboard
* add new board apis
* fix query data
* add dashboard migrate api
* rule note support template
* add value as data for template
* parse rule note before persist
* use prometheus var names
* fixbug rule note template
* refactor sql
* add logo
* refactor: add some log
* mv package poster to pkg
* add version
* compute user total in usage reporter
* feat: add some service api
Co-authored-by: 710leo <710leo@gmail.com>
Co-authored-by: countingwww <871138993@qq.com>
Co-authored-by: zhangjiandong <zhang.jiandong@baiso.com>
2022-05-20 23:48:49 +08:00
Ulric Qin
2bea8b7c84
add usage report
2022-05-17 19:24:06 +08:00
Ulric Qin
dd5ae29f82
delete no use code
2022-05-12 10:58:28 +08:00
Ulric Qin
e89760f374
code refactor
2022-05-08 16:04:20 +08:00
Ulric Qin
02dd70480d
update target's cluster field when clustername modified in server.conf
2022-05-08 16:02:50 +08:00
Ulric Qin
882952de3e
feature: builtin metric_view can be modified by admin
2022-04-27 10:51:12 +08:00
Ulric Qin
279bec6eaa
Delete redundant judgment logic
2022-04-24 10:39:24 +08:00
Ulric Qin
614ed283c0
rename MinVersion to TLSMinVersion
2022-04-22 22:25:02 +08:00
Ulric Qin
06672d5ff9
fix user group search
2022-04-22 22:18:58 +08:00
Ulric Qin
e0f0e08852
support redis tls
2022-04-22 21:48:56 +08:00
Ulric Qin
e00f102703
give default configuration value for QueueCount
2022-04-21 12:29:43 +08:00
Ulric Qin
3921627fa2
Merge branch 'main' of github.com:didi/nightingale
2022-04-21 12:26:44 +08:00
Ulric Qin
7a1a65c31b
add queue count control chan number
2022-04-21 12:24:26 +08:00
Curith
5e763f1a8b
use const http status text instead of a variable ( #921 )
2022-04-21 11:30:25 +08:00
Ulric Qin
a0c5f94017
use goroutine to send metrics to backend
2022-04-21 11:07:56 +08:00
zheng
9ba1c2c32d
优化钉钉@ 方式,允许关闭at ( #917 )
...
token_xxx?noat=1
2022-04-19 15:14:18 +08:00
qzh
5732c4403b
perf: 合并targets_up指标为一个ident,减少资源利用。 ( #915 )
2022-04-15 21:17:16 +08:00
Yening Qin
6033a0a743
fix: err is nil ( #914 )
2022-04-15 14:35:26 +08:00
zheng
e8cfe46381
按告警级别和数量排序 ( #913 )
2022-04-15 14:33:44 +08:00