Commit Graph

1401 Commits

Author SHA1 Message Date
kongfei605 1ca000af2c
Merge pull request #1137 from kongfei605/notification
add mattermost notification
2022-08-31 15:57:23 +08:00
kongfei 81fade557b fix dingtalk notification url 2022-08-31 15:45:59 +08:00
kongfei b82f646636 update configurarion in docker 2022-08-31 15:37:34 +08:00
kongfei 26a3d2dafa add mm notification with notify plugin 2022-08-31 15:31:27 +08:00
kongfei 5e931ebe8e add mm notification 2022-08-31 14:11:28 +08:00
Ulric Qin 8c45479c02 add primary key 2022-08-29 11:27:53 +08:00
Ulric Qin 940313bd4e use big nodata interval 2022-08-27 18:15:56 +08:00
xiaoziv 5057cd0ae6
add id column for table user_group_member and role_operation (#1126)
Co-authored-by: Ziv <xiaozheng@tuya.com>
2022-08-27 10:40:11 +08:00
Ulric Qin a4be2c73ac Merge branch 'main' of github.com:ccfos/nightingale 2022-08-27 10:35:27 +08:00
Ulric Qin a38e50d6b8 bugfix: server hearbeat 2022-08-27 10:35:15 +08:00
laiwei 89f66dd5d1
improve commuinity guide (#1133)
* improve community governance

* improve guide

* update contributors guide
2022-08-26 19:54:02 +08:00
ulricqin 3963470603
add configuration ForceUseServerTS (#1128) 2022-08-22 23:22:58 +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
ulricqin e7d2c45f9d
Manage bindings of n9e-server and datasource in web (#1127)
* manage bindings of n9e-server and datasource

* fix sync memsto
2022-08-22 18:39:29 +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
xtan fe68cebbf9
docs: sync pg init sql (#1122)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-08-19 15:57:06 +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 a1c458b764 use hostname:port as identity 2022-08-17 10:28:57 +08:00
laiwei acb4b8e33e
improve community governance (#1115) 2022-08-16 14:20:57 +08:00
zheng 54eab51e54
添加告警规则执行日志 (#1112) 2022-08-15 17:17:28 +08:00
HK.MF be89fde030
add aws cloudwatch rds metrics descriptions
Co-authored-by: e <hackermofrom@gmail.com>
2022-08-13 19:52:07 +08:00
jeff 37711ea6b2
add ping监控指标中文说明 (#1110)
add ping监控指标中文说明
2022-08-12 16:42:26 +08:00
xiaoziv 3b5c8d8357
optimize error report (#1109)
* optimize error report

* code refactor

* add /-/reload as reload route like prometheus

Co-authored-by: ziv <xiaozheng@tuya.com>
2022-08-12 14:10:03 +08:00
JellyTony 635369e3fd
Update docker-compose.yaml (#1107)
* Update docker-compose.yaml

* Update docker-compose.yaml

Co-authored-by: ulricqin <ulricqin@qq.com>
2022-08-12 13:16:02 +08:00
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