Commit Graph

1374 Commits

Author SHA1 Message Date
ulricqin 6c2c945bd9
event.Cluster use target.Cluster instead of rule.Cluster (#1108) 2022-08-12 13:13:06 +08:00
xiaoziv 48d24c79d6
use slim base image (#1105)
Co-authored-by: ziv <xiaozheng@tuya.com>
2022-08-11 19:35:33 +08:00
xiaoziv c6a1761a7b
support tpls reload (#1104)
Co-authored-by: ziv <xiaozheng@tuya.com>
2022-08-11 17:05:41 +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
Ulric Qin f34c3c6a2c comment default WriteRelabels 2022-08-10 16:53:41 +08:00
Ulric Qin 454dc7f983 go mod tidy 2022-08-10 16:52:51 +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
xiaoziv fd93fd7182
feat: support i18n metric desc (#1097)
* support i18n metric desc

* code refactor

* code refactor

Co-authored-by: ziv <xiaozheng@tuya.com>
2022-08-10 13:21:11 +08:00
Ulric Qin 1a446f0749 fix configurations: TargetMetrics 2022-08-10 10:36:02 +08:00
Ulric Qin f18ed76593 escape TargetMetrics 2022-08-09 20:07:17 +08:00
Ulric Qin 9b3a9f29d9 extract promql to webapi.conf 2022-08-09 20:01:54 +08:00
Ulric Qin 49965fd5d5 fix target mem util 2022-08-09 17:19:27 +08:00
Ulric Qin a248e054fa add some host metrics for targets get api 2022-08-09 17:11:24 +08:00
ning bbb35d36be fix: categraf panic when use docker compose 2022-08-09 10:44:18 +08:00
xiaoziv fd3e51cbb1
fix i18n header bug (#1095)
Co-authored-by: ziv <xiaozheng@tuya.com>
2022-08-08 20:28:36 +08:00
xiaoziv bd0480216c
feat: support i18n request headerkey (#1094)
Co-authored-by: ziv <xiaozheng@tuya.com>
2022-08-08 19:02:14 +08:00
Ulric Qin 2c963258cf code refactor 2022-08-08 15:26:11 +08:00
Yening Qin b4f267fb01
feat: prom support tls (#1091) 2022-08-08 12:17:52 +08:00
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