Commit Graph

80 Commits

Author SHA1 Message Date
xtan c62b9edf87
fix:pg数据库脚本同步 (#974)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-06-06 11:48:57 +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
xtan a4ef5fca46
pg数据库初始化脚本字段同步 (#969)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-06-01 19:57:17 +08:00
xtan f6591e80ea
Feat:提供基于Postgres的数据库初始化脚本 (#967)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-05-31 18:06:42 +08:00
Ulric Qin ce35e23a0f modify alert rule verify 2022-05-31 13:08:09 +08:00
caojiaqiang e22a4394f7
feat: 告警处理出错给Maintainer管理员发送告警信息 (#955)
* feat: 告警处理出错给管理员发送告警信息

* feat: 告警处理出错给管理员发送告警信息,发送信息自己拼接,不使用模版

* feat: 告警处理出错给管理员发送告警信息,不实用AlertCurEvent结构

* feat: 告警处理出错给管理员发送告警信息,日志打印、文本发送优化
2022-05-27 19:00:41 +08:00
xtan 070e5051c6
修复go plugin相关错误 (#964)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-05-27 17:38:15 +08:00
Ulric Qin 6ba93527ba upgrade server.conf and webapi.conf in docker environment 2022-05-21 18:10:22 +08:00
Ulric Qin d6d2639e3a upgrade 5.8.0 2022-05-21 17:49:33 +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 cb741a5521 add wait tool for docker-compose 2022-05-11 12:43:34 +08:00
Ulric Qin 9d434a36d6 add wait tool for docker-compose 2022-05-11 12:42:08 +08:00
UlricQin c8e59cdd0c upgrade 5.7.0 2022-04-28 14:30:23 +08:00
Ulric Qin 1dbfe3417b upgrade 5.6.3 2022-04-18 13:41:20 +08:00
Ulric Qin c829732af0 add configs for docker env 2022-04-18 13:40:40 +08:00
Ulric Qin d0e6788724 upgrade 5.6.2 2022-04-14 17:20:07 +08:00
UlricQin 08141e36cb use 5.6.1 image version 2022-04-14 14:40:10 +08:00
Ulric Qin d6d588c5aa upgrade image version 2022-04-11 15:00:26 +08:00
Ulric Qin 1ba0f5ab74 upgrade to 5.6.0 2022-04-08 11:43:11 +08:00
Ulric Qin 7eb665e401 modify default sql of alert_aggr_view 2022-04-08 10:11:55 +08:00
Ulric Qin d0efb206d9 add preset metric_view 2022-04-06 19:04:02 +08:00
Ulric Qin f7318cfc5a alter table user to users 2022-04-05 09:12:30 +08:00
UlricQin a914de63c6 upgrade docker-compose to 5.5.0 2022-03-30 15:37:55 +08:00
UlricQin 3236883cce update server.conf 2022-03-30 13:09:58 +08:00
Ulric Qin d3576440d4 fix index of metric_view and alert_aggr_view 2022-03-28 10:15:53 +08:00
Ulric Qin c557e383b6 add metric_view crud method 2022-03-27 19:06:31 +08:00
Ulric Qin e7145018ef add alerts and dashboards 2022-03-23 13:36:22 +08:00
Ulric Qin 30365a2256 code refactor 2022-03-22 15:14:56 +08:00
Ulric Qin 025c5809be add alert_aggr_view crud 2022-03-22 11:19:06 +08:00
Ulric Qin d45fdd50e7 modify sql: add group_name for event 2022-03-21 17:35:10 +08:00
Ulric Qin c9be9b0538 add label_value field for busi_group 2022-03-21 11:44:51 +08:00
Ulric Qin 7ec6d84c7d use text for chart.configs 2022-03-17 18:57:57 +08:00
UlricQin de65c5a6cf docker-compose use 5.4.1 2022-03-14 19:04:37 +08:00
Ulric Qin fde52167b3 delete no use code 2022-03-07 18:21:10 +08:00
Ulric Qin 93f88296da update notify.py in docker dir 2022-03-01 17:07:20 +08:00
Ulric Qin 1f4e8e752e update docker-compose configs 2022-03-01 17:04:10 +08:00
Ulric Qin fed9b9a19d upgrade docker-compose 2022-03-01 16:32:58 +08:00
UlricQin 5c2581a90a upgrade 5.3.4 2022-02-15 17:19:47 +08:00
UlricQin 8408220870 upgrade 5.3.2 2022-01-29 11:12:06 +08:00
Ulric Qin 598ae07fc2 add feature: recover_duration 2022-01-26 08:59:30 +08:00
UlricQin ac6f49e63d upgrade 5.3.0 2022-01-11 11:56:09 +08:00
UlricQin b9c674d662 prometheus proxy add Header Host 2022-01-08 19:40:43 +08:00
Ulric Qin d590f6d5c1 enable_in_bg logic 2022-01-08 17:52:29 +08:00
JeffreyBool ef6f6f95c0
增加 server 指标采集 (#850)
* 修改名称

* 增加 server 指标采集
2021-12-25 22:31:49 +08:00
JeffreyBool 991a3e2ab5
添加 n9e-webapi 指标采集 (#848)
* 添加自定义发现文件

* 添加 webapi 指标
2021-12-25 22:11:41 +08:00
Ulric Qin 08c6659804 use longer varchar 2021-12-24 20:03:53 +08:00
Ulric Qin 3428b11ea8 configuration for metrics.yaml and templates 2021-12-23 12:53:32 +08:00
Ulric Qin 0f3bbf6368 use NotifyRepeatNext as TriggerTime when repeat notify 2021-12-15 18:37:48 +08:00
Ulric Qin 95ebc44f05 refactor notify.py 2021-12-14 21:39:01 +08:00