Commit Graph

1349 Commits

Author SHA1 Message Date
Ulric Qin f81888cd8a get prometheus info from api. code skelton 2022-05-22 16:56:58 +08:00
Ulric Qin 6a7b543ad6 add mutex for prom transport 2022-05-22 12:45:25 +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
GitHamburg e2232bfa12
update server.conf, add DisableUsageReport (#949) 2022-05-20 13:13:10 +08:00
Ulric Qin 2bea8b7c84 add usage report 2022-05-17 19:24:06 +08:00
Ulric Qin dd5ae29f82 delete no use code 2022-05-12 10:58:28 +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
Ulric Qin e89760f374 code refactor 2022-05-08 16:04:20 +08:00
Ulric Qin 02dd70480d update target's cluster field when clustername modified in server.conf 2022-05-08 16:02:50 +08:00
UlricQin c8e59cdd0c upgrade 5.7.0 2022-04-28 14:30:23 +08:00
Ulric Qin 882952de3e feature: builtin metric_view can be modified by admin 2022-04-27 10:51:12 +08:00
Ulric Qin 279bec6eaa Delete redundant judgment logic 2022-04-24 10:39:24 +08:00
Ulric Qin 614ed283c0 rename MinVersion to TLSMinVersion 2022-04-22 22:25:02 +08:00
Ulric Qin 06672d5ff9 fix user group search 2022-04-22 22:18:58 +08:00
Ulric Qin 78b8cfd365 add tls configurations for webapi 2022-04-22 22:14:59 +08:00
Ulric Qin e0f0e08852 support redis tls 2022-04-22 21:48:56 +08:00
Ulric Qin e00f102703 give default configuration value for QueueCount 2022-04-21 12:29:43 +08:00
Ulric Qin 3921627fa2 Merge branch 'main' of github.com:didi/nightingale 2022-04-21 12:26:44 +08:00
Ulric Qin 7a1a65c31b add queue count control chan number 2022-04-21 12:24:26 +08:00
Curith 5e763f1a8b
use const http status text instead of a variable (#921) 2022-04-21 11:30:25 +08:00
Ulric Qin 808fa5839a 5.6.4 dev 2022-04-21 11:08:39 +08:00
Ulric Qin a0c5f94017 use goroutine to send metrics to backend 2022-04-21 11:07:56 +08:00
zheng 9ba1c2c32d
优化钉钉@ 方式,允许关闭at (#917)
token_xxx?noat=1
2022-04-19 15:14:18 +08:00
zheng 5333fb8eab
优化告警格式,增加 监控对象 (#918) 2022-04-19 15:05:07 +08:00
Ulric Qin ee4a918fc7 Merge branch 'main' of github.com:didi/nightingale 2022-04-18 13:41:59 +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
Yening Qin 1b313a3202
doc: improve readme (#916)
* doc: improve readme
2022-04-16 23:30:08 +08:00
qzh 5732c4403b
perf: 合并targets_up指标为一个ident,减少资源利用。 (#915) 2022-04-15 21:17:16 +08:00
Yening Qin 6033a0a743
fix: err is nil (#914) 2022-04-15 14:35:26 +08:00
zheng e8cfe46381
按告警级别和数量排序 (#913) 2022-04-15 14:33:44 +08:00
Ulric Qin e94f807d52 delete no used code 2022-04-15 11:10:16 +08:00
Ulric Qin c15490e756 code refactor 2022-04-14 19:09:25 +08:00
Ulric Qin b25c523528 code refactor, use NotifyBuiltinChannels to control 2022-04-14 18:56:14 +08:00
Ulric Qin 6d27da8ad8 delete no used code 2022-04-14 17:32:51 +08:00
Ulric Qin d0e6788724 upgrade 5.6.2 2022-04-14 17:20:07 +08:00
Ulric Qin 1633308000 modify queue size 2022-04-14 17:19:14 +08:00
UlricQin 08141e36cb use 5.6.1 image version 2022-04-14 14:40:10 +08:00
Ulric Qin b5cfdb1ef6 upgrade 5.6.1 2022-04-14 12:58:02 +08:00
Ulric Qin 3a97a67c7e third time: code refactor for pr 906. use channel as queue for all the receivers 2022-04-14 12:57:30 +08:00
Ulric Qin 8d6101ec5a second time: code refactor for pr 906. new concurrent-map when init; move lock to WritersType 2022-04-14 12:43:39 +08:00
Ulric Qin e73da37bc0 first time: code refactor for pr 906 2022-04-14 11:11:14 +08:00
qzh 3d587a5762
perf(opentsdb): 数据拉取以ident分发,并把list方式改为chan方式,提高消费效率。如果有多个prometheus实例,也可以通过header中的Ident字段进行一致性hash分发。 (#906)
Co-authored-by: zhihao.qu <zhihao.qu@ly.com>
2022-04-14 10:31:36 +08:00
zheng 42a6be95e8
fix dashboard name (#911) 2022-04-13 21:34:25 +08:00
zheng ee8c367933
修复大盘目录错误 (#910) 2022-04-13 18:39:41 +08:00
Lars Lehtonen a20e19922e
src/pkg/ibex: fix dropped error (#907) 2022-04-13 10:43:32 +08:00
Ulric Qin d6d588c5aa upgrade image version 2022-04-11 15:00:26 +08:00