Commit Graph

1355 Commits

Author SHA1 Message Date
xiaoziv ea46401db2
remove record rule check (#1090)
Co-authored-by: ziv <xiaozheng@tuya.com>
2022-08-06 18:15:04 +08:00
xiaoziv 58e777eb00
support graph url (#1088)
Co-authored-by: ziv <xiaozheng@tuya.com>
2022-08-06 18:12:33 +08:00
xiaoziv 04a9161f75
feat: support rule convert from prometheus/vmalert (#1087)
* feat: support rule convert from prometheus/vmalert

* Update rule_converter.py

* Update rule_converter.py

Co-authored-by: ulricqin <ulricqin@qq.com>
2022-08-04 20:06:54 +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 bb17751a81 fix typo 2022-08-02 12:21:01 +08:00
ulricqin a8dcb1fe83
add retry controller for poster (#1082) 2022-08-02 12:20:02 +08:00
Ulric Qin 1ea30e03a4 check user exists when refresh token 2022-08-01 14:44:22 +08:00
kongfei605 ba0eafa065
docker compose use latest version of n9e and categraf (#1079) 2022-07-29 17:38:28 +08:00
xtan c78c8d07f2
refactor: error info return (#1077)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-07-29 17:38:03 +08:00
Ulric Qin 8fe9e57c03 Merge branch 'main' of github.com:ccfos/nightingale 2022-07-29 17:35:49 +08:00
Ulric Qin 64646d2ace refactor linux dashboard 2022-07-29 17:35:23 +08:00
ning e747e73145 add debug log for ldap login 2022-07-29 15:38:45 +08:00
xtan 896f85efdf
refactor: add error log (#1076)
* refactor: add error log

* refactor: update error log

* refactor: fix error log

Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-07-29 11:41:39 +08:00
Ulric Qin 77e4499a32 refactor linux dashboard 2022-07-27 19:05:00 +08:00
ulricqin 7c351e09e5
add api: /board/:bid/pure (#1073) 2022-07-27 14:30:35 +08:00
xiaoziv 14ad3b1b0a
fix proxy auth username error (#1072) 2022-07-27 14:13:48 +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
Ulric Qin 39705787c9 Merge branch 'main' of github.com:ccfos/nightingale 2022-07-26 15:54:42 +08:00
Ulric Qin 293680a9cd use english comma 2022-07-26 15:54:25 +08:00
Yening Qin 05005357fb
feat: push event api add mute (#1070) 2022-07-25 16:05:35 +08:00
ulricqin ba7ff133e6
modify prometheus query batch response format (#1068) 2022-07-23 17:50:16 +08:00
ulricqin 0bd7ba9549
code refactor notify (#1066) 2022-07-22 18:12:42 +08:00
ulricqin 17c7361620
code refactor notify plugin (#1065) 2022-07-22 17:56:52 +08:00
lsy1990 c45cbd02cc
supply plugin to notify maintainer (#1063) 2022-07-22 17:02:49 +08:00
hwloser 04cb501ab4
[fix] fix the docker problem of apple chip (#1060)
Co-authored-by: huanwei <huanwei@huanweideMacBook-Pro.local>
2022-07-21 14:46:27 +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 ab0cb6fc47 Merge branch 'main' of github.com:ccfos/nightingale 2022-07-18 17:08:07 +08:00
Ulric Qin 2847a315b1 add server-dash.json 2022-07-18 17:05:45 +08:00
Yening Qin 65439df7fb
fix event push api (#1057) 2022-07-18 14:37:31 +08:00
laiwei b6436b09ce
update community governance (#1056)
* update readme to add badge
* update community gov
2022-07-17 21:57:16 +08:00
Ulric Qin 92354d5765 code refactor 2022-07-17 13:22:16 +08:00
SunnyBoy-WYH 05651ad744
Query batch feature (#1052)
* batch query prom for single panel

* make code better:

1.extract server/api.go

2.make webapi reading prom with reusing server's API,not a new prom client

* clear code

* clear code

* format code
clear code

* move reader.go,reuse webapi/prom/prom.go clusterTypes clients cache

* clear code,extract common method
2022-07-17 12:52:33 +08:00
Ulric Qin b7ff82d722 alertSubscribePut can modify cluster 2022-07-13 19:24:09 +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
kongfei605 299270f74e
keep build version in Makefile consistency with goreleaser (#1047) 2022-07-12 23:43:24 +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
Ulric Qin 616674b643 code refactor 2022-07-11 13:10:40 +08:00
zheng 94847d9059
get rule node (#1042) 2022-07-11 13:06:11 +08:00
Ulric Qin cbd416495c modify server.conf in docker env 2022-07-11 13:04:04 +08:00
Ulric Qin cc32194fb6 code refactor 2022-07-10 11:27:36 +08:00
Ulric Qin f5e2b43526 go mod tidy 2022-07-10 10:28:43 +08:00
xiaoziv 5bc8f0b9b1
Feature mute enhancement (#1041)
* [feature(#1029)] alert mute enhancement

* handle error of proxy user Add
2022-07-09 22:06:33 +08:00
xtan 7359a69223
fix: fix plugin error (#1038)
* fix: fix plugin error

* fix-plugin

Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-07-08 18:21:09 +08:00
xtan 04d64d09d7
fix: fix version info (#1036)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-07-08 16:22:15 +08:00
xiaoziv 43343182e4
[feature] add proxy auth support (#1035)
Co-authored-by: ziv <xiazoheng@tuya.com>
2022-07-08 15:19:22 +08:00
Ulric Qin 072ab98fcf use ForwardDuration in goroutine 2022-07-08 12:53:32 +08:00