Ulric Qin
a38e50d6b8
bugfix: server hearbeat
2022-08-27 10:35:15 +08:00
xiaoziv
640b6e6825
fix: add board check when del group ( #1124 )
...
* fix: add board check when del group
* Update busi_group.go
Co-authored-by: Ziv <xiaozheng@tuya.com>
Co-authored-by: ulricqin <ulricqin@qq.com>
2022-08-22 19:08:40 +08:00
Yening Qin
80ee54898a
feat: alert rule support cate ( #1123 )
...
* alert rule support cate
* his_event add cate
* change RecoverEvent time
* add get event api
* event query by cate
2022-08-22 14:17:17 +08:00
Ulric Qin
c1fec215a9
add some api for server cluster bindings
2022-08-18 09:27:43 +08:00
Ulric Qin
388228a631
collect target total number
2022-08-17 20:16:42 +08:00
ulricqin
b4ddd03691
read prom url from database ( #1119 )
...
* add model alerting_engine
* heartbeat using db
* reader.Client from database
* fix sql
2022-08-17 17:20:42 +08:00
Yening Qin
b92e4abf86
feat: support handle event api ( #1113 )
...
* support handle event service api
2022-08-17 11:22:49 +08:00
Ulric Qin
23d7e5a7de
add disk_util for target table
2022-08-10 17:05:29 +08:00
xiaoziv
b1b2c7d6b0
feat: support ident disk usage metric ( #1100 )
...
* feat: support ident disk usage metric
* code refactor
Co-authored-by: ziv <xiaozheng@tuya.com>
2022-08-10 17:00:49 +08:00
Resurgence
c1e92b56b9
feat: add write_relabel action before n9e remote writing to multi tsdb ( #1098 )
...
* add write relabel config
* change parse relabel Regex field time when config loaded
2022-08-10 16:50:52 +08:00
Ulric Qin
a248e054fa
add some host metrics for targets get api
2022-08-09 17:11:24 +08:00
xiaoziv
ea46401db2
remove record rule check ( #1090 )
...
Co-authored-by: ziv <xiaozheng@tuya.com>
2022-08-06 18:15:04 +08:00
xtan
1ed8f38833
feat: add first trigger time ( #1086 )
...
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-08-04 19:29:44 +08:00
Ulric Qin
64646d2ace
refactor linux dashboard
2022-07-29 17:35:23 +08:00
ulricqin
7c351e09e5
add api: /board/:bid/pure ( #1073 )
2022-07-27 14:30:35 +08:00
Ulric Qin
184867d07c
feature: query busigroup by ident
2022-07-27 13:13:17 +08:00
Ulric Qin
3476b95b35
fix: query busigroup by ident
2022-07-26 18:23:14 +08:00
Ulric Qin
76e105c93a
query busigroup by ident
2022-07-26 17:59:57 +08:00
Yening Qin
ba6f089c78
fix: get alert rules by api ( #1059 )
...
* fix event push api
2022-07-19 12:10:02 +08:00
Ulric Qin
a285966560
fix func RecordingRuleGetsByCluster
2022-07-13 11:01:27 +08:00
xiaoziv
538880b0e0
[feature] support multiple cluster config with mute&subscribe ( #1046 )
...
* [feature] support multiple cluster config with mute&subscribe
* [feature] support multiple cluster config with mute&subscribe
2022-07-13 10:56:57 +08:00
xiaoziv
9c69362650
[feat( #984 )] multiple cluster support ( #1045 )
...
* [feat(#984 )] multiple cluster support
* add stats ClusterAll handle
2022-07-12 19:30:42 +08:00
ulricqin
d508aef7e5
fix mute: parse regexp ( #1044 )
2022-07-12 16:39:23 +08:00
ulricqin
2ef541cdd7
refactor recording rule and and field disabled ( #1022 )
2022-07-06 17:21:14 +08:00
Tripitakav
1304a4630b
Add recording rule ( #1015 )
...
* add prometheus recording rules
* fix recording rule sql
* add record rule note
* fix copy error
* add some regx
Co-authored-by: 尚承志 <chengzhi.shang@longbridge.sg>
2022-07-06 15:58:08 +08:00
xtan
a9288e376d
feat: persist notify cur number ( #1013 )
...
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-07-05 16:42:20 +08:00
chenxuan
f9af916352
fix alert put api not verify bug ( #987 )
2022-06-20 11:50:14 +08:00
Ulric Qin
d0b005fb14
code refactor: set createBy when update metric_view
2022-06-16 13:17:58 +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
a8c60c9f2b
alert_aggr_view support modify by admin
2022-06-10 13:55:26 +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
ce35e23a0f
modify alert rule verify
2022-05-31 13:08:09 +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
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
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
06672d5ff9
fix user group search
2022-04-22 22:18:58 +08:00
Ulric Qin
e94f807d52
delete no used code
2022-04-15 11:10:16 +08:00
Ulric Qin
cb3e371094
parse tags for cur_events
2022-04-07 18:30:11 +08:00
Ulric Qin
30ba544f35
fix order metric_view
2022-04-07 12:01:16 +08:00
Ulric Qin
e8c0d6b987
order by cate and name
2022-04-07 11:37:49 +08:00
Ulric Qin
f7318cfc5a
alter table user to users
2022-04-05 09:12:30 +08:00
Yening Qin
a67356639b
feat: support OIDC ( #893 )
...
* feat: support oidc
* refactor: sso -> oidc
* refactor: add AccessToken
* refactor: change some naming
2022-03-30 11:01:02 +08:00
Ulric Qin
c557e383b6
add metric_view crud method
2022-03-27 19:06:31 +08:00