Commit Graph

1401 Commits

Author SHA1 Message Date
Ulric Qin 7d326ef306 use metrics as hash key 2022-06-17 09:56:10 +08:00
Ulric Qin d0b005fb14 code refactor: set createBy when update metric_view 2022-06-16 13:17:58 +08:00
Ulric Qin 118060cf77 UPDATE README 2022-06-15 15:38:11 +08:00
Ulric Qin d2ef68daac upgrade 5.9.2 2022-06-15 14:40:43 +08:00
Ulric Qin 8393b93c53 Merge branch 'main' of github.com:ccfos/nightingale 2022-06-15 14:01:22 +08:00
Ulric Qin 63adcc2cd9 bugfix for alert-aggr-views 2022-06-15 14:01:01 +08:00
xtan 60c842c704
fix: NotifyMaxNumber for postgres db (#978)
* fix: NotifyMaxNumber for postgres db

* fix: sql for pg

Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-06-13 10:56:14 +08:00
Ulric Qin f6fd6aed7f add some categraf alerts.json 2022-06-11 17:54:52 +08:00
Ulric Qin cb92368e5b add categraf dashboard 2022-06-11 17:40:43 +08:00
Ulric Qin 8cd97db362 add some categraf dashboard 2022-06-11 17:38:10 +08:00
Ulric Qin 94e1359895 fix handler: NotifyMaxNumber 2022-06-10 17:49:48 +08:00
Ulric Qin 1bcc5b77ec remote write and read: support header 2022-06-10 17:37:33 +08:00
Ulric Qin ae622e0c08 fix 2022-06-10 16:36:47 +08:00
Ulric Qin c951f7d822 support max notify number 2022-06-10 16:26:53 +08:00
Ulric Qin 6a366acc74 modify log level 2022-06-10 15:39:45 +08:00
Ulric Qin a5f7d5e9cf modify log level 2022-06-10 15:15:13 +08:00
Ulric Qin ea2249c30c forward samples in sequence 2022-06-10 14:20:18 +08:00
Ulric Qin a8c60c9f2b alert_aggr_view support modify by admin 2022-06-10 13:55:26 +08:00
xtan 0581e02cf3
Feat:add common template functions (#976)
* Feat:增加常用模板函数

* Feat:修改增加模板函数的实现方式

Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-06-08 20:40:45 +08:00
Ulric Qin efec811b91 update README 2022-06-08 13:40:06 +08:00
Ulric Qin f85209c817 add gif in README 2022-06-08 11:19:57 +08:00
Ulric Qin 7fda5a9a4b update README 2022-06-08 11:17:03 +08:00
Ulric Qin ab689fc0db update README 2022-06-08 11:12:51 +08:00
Ulric Qin cdcdbe8f70 update README 2022-06-08 11:11:15 +08:00
Ulric Qin 46ca8a409a update README 2022-06-08 10:53:58 +08:00
Ulric Qin e5c1641b6b code refactor: move struct ReaderOptions to config 2022-06-07 18:00:11 +08:00
Ulric Qin 3e475e7e08 Merge branch 'main' of github.com:ccfos/nightingale 2022-06-07 17:56:49 +08:00
Ulric Qin 3899144f8f add header for writer post 2022-06-07 17:56:23 +08:00
ning b8cb9e7734 fix: linux_by_telegraf dashboard 2022-06-07 14:17:17 +08:00
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
Ulric Qin 7cf309345f Merge branch 'main' of github.com:ccfos/nightingale 2022-06-01 12:58:36 +08:00
Ulric Qin 495632a064 fix alert rule delete by service 2022-06-01 12:58:09 +08:00
xtan f6591e80ea
Feat:提供基于Postgres的数据库初始化脚本 (#967)
Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-05-31 18:06:42 +08:00
Ulric Qin ab5e8c366e code refactor 2022-05-31 14:44:57 +08:00
Ulric Qin ce35e23a0f modify alert rule verify 2022-05-31 13:08:09 +08:00
Ulric Qin ece263ea45 update readme 2022-05-30 09:44:19 +08:00
Ulric Qin f777318cc7 update README 2022-05-30 09:13:44 +08:00
Ulric Qin c29f3ecdeb update README 2022-05-30 09:12:16 +08:00
Ulric Qin 8f8740ad94 update README 2022-05-30 09:10:58 +08:00
Ulric Qin 9acabba761 use go1.18 and tidy go.mod 2022-05-30 09:08:54 +08:00
Ulric Qin c3adcc877a use standalone mode when RedisType is blank 2022-05-30 08:39:35 +08:00
xtan 7f92e921b4
Feat:增加对redis集群模式、哨兵模式的支持 (#965)
* 修复go plugin相关错误

* Feat:增加对redis集群模式、哨兵模式的支持

Co-authored-by: tanxiao <tanxiao@asiainfo.com>
2022-05-30 08:36:17 +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
Yening Qin c040dffb5f
feat: add some service api
* feat: add some service api
2022-05-25 15:14:52 +08:00
Ulric Qin c2f2a7d5e2 use post method to get datasources 2022-05-23 13:31:05 +08:00
Ulric Qin fd29d18312 delete no use code 2022-05-23 13:29:08 +08:00