Yening Qin
315e0ef903
fix: get clusters by api ( #1030 )
2022-07-07 12:29:35 +08:00
ning
56b61909a3
fix: event service api
2022-07-07 09:44:26 +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
Henry Chia
90dacd0085
fix typo ( #1004 )
...
* 修改拼写错误
修改拼写错误
exsits -> exists
* Update router_login.go
2022-06-29 19:08:58 +08:00
ning
540ef68dc8
fix: alert mute add by service
2022-06-29 11:11:12 +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
1bcc5b77ec
remote write and read: support header
2022-06-10 17:37:33 +08:00
Ulric Qin
a5f7d5e9cf
modify log level
2022-06-10 15:15:13 +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
ab5e8c366e
code refactor
2022-05-31 14:44:57 +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
dd5ae29f82
delete no use code
2022-05-12 10:58:28 +08:00
Ulric Qin
882952de3e
feature: builtin metric_view can be modified by admin
2022-04-27 10:51:12 +08:00
Curith
5e763f1a8b
use const http status text instead of a variable ( #921 )
2022-04-21 11:30:25 +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
zheng
42a6be95e8
fix dashboard name ( #911 )
2022-04-13 21:34:25 +08:00
zheng
ee8c367933
修复大盘目录错误 ( #910 )
2022-04-13 18:39:41 +08:00
Ulric Qin
b838cb1c6f
return last insert object of metric view
2022-04-08 11:07:30 +08:00
Ulric Qin
ac24e8b028
fix: import builtin dashboards
2022-04-07 14:09:14 +08:00
Ulric Qin
66bc023e51
bugfix: list builtin alerts and dashboards
2022-04-02 12:21:03 +08:00
Ulric Qin
16d303a6fb
rename var
2022-03-31 10:40:14 +08:00
Ulric Qin
70e5ac4898
add alert_aggr_view
2022-03-31 10:24:42 +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
Ulric Qin
4c22284ca7
add cluster field when import builtin alerts
2022-03-23 14:48:28 +08:00
Ulric Qin
929c970b42
import builtin dashboard
2022-03-23 14:04:55 +08:00
Ulric Qin
496c8d8356
handle alerts builtin
2022-03-23 13:58:45 +08:00
Ulric Qin
3b9e40c5d4
add severity in card
2022-03-22 15:49:59 +08:00
Ulric Qin
6d20b8ef72
fill notify groups of events
2022-03-22 15:36:51 +08:00
Ulric Qin
8bdd35975e
AlertCurEventGetByIds
2022-03-22 15:24:25 +08:00
Ulric Qin
9ccdd6c3e7
fix nil pointer
2022-03-22 15:18:45 +08:00
Ulric Qin
30365a2256
code refactor
2022-03-22 15:14:56 +08:00
Ulric Qin
2cd9f50357
code refactor
2022-03-22 14:38:56 +08:00
Ulric Qin
106345ff49
add debug log
2022-03-22 14:26:37 +08:00
Ulric Qin
7c8c961aef
query alerts card
2022-03-22 14:10:10 +08:00
Ulric Qin
025c5809be
add alert_aggr_view crud
2022-03-22 11:19:06 +08:00
Ulric Qin
c9be9b0538
add label_value field for busi_group
2022-03-21 11:44:51 +08:00
Ulric Qin
1ffdf3d283
bugfix: AdminRole
2022-03-07 18:19:19 +08:00