Commit Graph

1274 Commits

Author SHA1 Message Date
Ulric Qin 2847a315b1 add server-dash.json 2022-07-18 17:05:45 +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
Ulric Qin 35ef6b9265 duplicate label key checker 2022-07-08 12:02:57 +08:00
Ulric Qin eaa53f2533 check duplicate label key 2022-07-08 11:48:44 +08:00
Ulric Qin de322c4daf add n9e_server.json 2022-07-08 10:03:04 +08:00
Ulric Qin 936c751a93 Merge branch 'main' of github.com:ccfos/nightingale 2022-07-08 09:48:22 +08:00
Ulric Qin 796a7014a1 use goroutine to forward data 2022-07-08 09:48:08 +08:00
xtan f4368302ea
fix: pg sql for recording rule (#1034)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-07-07 15:53:12 +08:00
kongfei605 01e611a9f9
auto release with github action (#1032)
* auto release with github action

* build arm64 artifacts
2022-07-07 14:17:23 +08:00
Yening Qin 315e0ef903
fix: get clusters by api (#1030) 2022-07-07 12:29:35 +08:00
Ulric Qin 98d5dfff8e add namespace and subsystem prefix for metrics 2022-07-07 12:23:06 +08:00
Ulric Qin 6b4705608b add forward stat 2022-07-07 12:13:45 +08:00
Ulric Qin 5907817cba n9e-server: add http request stat 2022-07-07 10:52:04 +08:00
Ulric Qin aa97ac54d1 register GaugeSampleQueueSize 2022-07-07 10:17:15 +08:00
Ulric Qin 8fe548aba9 rename mapkey alertname to rulename 2022-07-07 10:06:34 +08:00
Tripitakav 18a9288b75
fix mute bug (#1025)
Co-authored-by: tripitakav <chengzhi.shang@longbridge.sg>
2022-07-07 10:05:39 +08:00
ulricqin fe82886f09
report sample queue size (#1027)
* report sample queue size

* report sample channel size
2022-07-07 10:00:08 +08:00
xtan 32e6993eea
fix: fix event api for service (#1026)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-07-07 09:58:05 +08:00
ning 56b61909a3 fix: event service api 2022-07-07 09:44:26 +08:00
ulricqin 2ef541cdd7
refactor recording rule and and field disabled (#1022) 2022-07-06 17:21:14 +08:00
laiwei 6b1d283cda
Merge pull request #1019 from ccfos/community-guide
add community guide and governance docs (draft)
2022-07-06 17:08:14 +08:00
laiwei c8e5566c81 add stargazers chart 2022-07-06 16:25:54 +08:00
laiwei 7f3d9df089 update 2022-07-06 16:20:58 +08:00
laiwei 99aa4dbca8 update format 2022-07-06 16:12:59 +08:00
Ulric Qin c193b8abd4 remove drop table sql 2022-07-06 16:08:24 +08:00
laiwei 4efdc4f169 update format 2022-07-06 16:06:13 +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
laiwei 2cc3f939a7 Merge branch 'main' into community-guide 2022-07-06 15:44:11 +08:00
laiwei d0260e564c Merge remote-tracking branch 'origin/main' into community-guide 2022-07-06 15:40:52 +08:00
laiwei 2a24179423 update readme to add community governance 2022-07-06 15:40:25 +08:00
laiwei 34082b44f1 Merge branch 'main' of github.com:ccfos/nightingale 2022-07-06 13:12:04 +08:00
UlricQin bfe340d24d upgrade 5.9.4 2022-07-05 16:54:15 +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