Commit Graph

853 Commits

Author SHA1 Message Date
Paul Chu 384e993ca1
enable promethues summary (#630) 2021-03-24 16:08:42 +00:00
yubo c1241fdfbc
bugfix: created_at -> create_at for rdb.user table (#632) 2021-03-24 19:10:01 +08:00
yubo be9d6ac660
use logger.Warning instead of fmt.Printf at loading plugins (#629) 2021-03-23 18:37:03 +08:00
yubo 30b469ddbd
add subject for rdb rst-code/login-code mail (#628) 2021-03-22 17:27:01 +08:00
UlricQin 22ee99f222 Merge branch 'master' of https://github.com/didi/nightingale 2021-03-19 13:19:51 +08:00
UlricQin f4675f0a34 upgrade 3.7.1 2021-03-19 13:19:27 +08:00
yubo 111c6fc1bf
feature: support node event notify with webhook (#627)
* feature: support node event notify with webhook
2021-03-19 13:06:41 +08:00
710leo 0cd2761021 Merge branch 'master' of https://github.com/didi/nightingale 2021-03-19 11:12:41 +08:00
710leo 0a7c8988c6 stra add user group detail 2021-03-19 11:12:32 +08:00
UlricQin 7947533182 monapi support new timestamp 2021-03-19 10:48:40 +08:00
710leo 184c39d311 add some audit log 2021-03-18 21:22:50 +08:00
UlricQin d89eaec596 bugfix: GetTeamsNameByIds 2021-03-18 10:03:20 +08:00
yubo 40ce0d75ed
prettify msg (#620) 2021-03-17 11:57:30 +08:00
ning1875 61bd28db31
日志采集字段变更 whether_attache_one_log_line--> whether_attach_one_log_line (#619)
* m3db writetagged应该并发做,不然会导致transfer rpc变慢

* go func指针传参问题

* 新增k8s-mon三个大盘文件

* 新增k8s-mon三个大盘文件

* 修改k8s-mon三个大盘文件

* 日志采集新增带上最后一条日志 到extra字段中,为后续报警做准备

* 日志采集字段变更 whether_attache_one_log_line--> whether_attach_one_log_line

* 日志采集带上日志
2021-03-15 16:03:02 +08:00
710leo b1426945d4 fix agent proc.cpu.util 2021-03-13 18:21:21 +08:00
ning1875 dec9097ce7
transfer写m3db出错时打印metric信息帮助定位 (#615)
* m3db writetagged应该并发做,不然会导致transfer rpc变慢

* go func指针传参问题

* 新增k8s-mon三个大盘文件

* 新增k8s-mon三个大盘文件

* 修改k8s-mon三个大盘文件

* transfer写m3db出错时打印metric信息帮助定位
2021-03-13 13:21:05 +08:00
ning1875 7bb93e8351
日志采集新增带上最后一条日志 到extra字段中,为后续报警做准备 (#614)
* m3db writetagged应该并发做,不然会导致transfer rpc变慢

* go func指针传参问题

* 新增k8s-mon三个大盘文件

* 新增k8s-mon三个大盘文件

* 修改k8s-mon三个大盘文件

* 日志采集新增带上最后一条日志 到extra字段中,为后续报警做准备
2021-03-13 13:19:45 +08:00
alick-liming 7a84223d5b
Aggr lanteness (#611)
* aggr lateness

* default value

* test

* test

Co-authored-by: alickliming <alickliming@didiglobal.com>
2021-03-12 15:10:42 +08:00
yubo 398628870c
bugfix: add prober.plugins Stop() for release resource (#610) 2021-03-11 16:22:55 +08:00
yubo 3e426537c7
add maxSeriesPoints for config.transfer.m3db (#609) 2021-03-10 17:50:38 +08:00
HONG YANG bf1bd3ef5a
“massage” (#603) 2021-03-10 17:36:58 +08:00
yubo b85b1e44ef
bugfix: auth password history size (#607) 2021-03-10 17:35:12 +08:00
yubo ff194c0382
add sample.out for mysql & redist (#605) 2021-03-09 19:10:40 +08:00
Zayscott 078f7cfc90
新增n9e模块监控大盘 (#602)
* Update changelog

* Create n9e_mudules

* Update changelog
2021-03-05 12:59:52 +08:00
stiei13wangluo bd72a773f4
telegraf dns_query plugins (#601)
* dns_query

* dns_query

Co-authored-by: root <root@localhost.localdomain>
2021-03-05 11:54:13 +08:00
Zayscott 9637fb4bf3
Update changelog (#600) 2021-03-04 17:36:15 +08:00
yubo 22dc5c909c
feature: add dryrun for collect_rule add/update (#599)
* feature: add dryrun for collect_rule add/update

* ignore sso when it is disable
2021-03-04 17:35:40 +08:00
UlricQin cd4336d438 code refactor 2021-03-02 17:07:53 +08:00
UlricQin fb619e0fa9 add comment 2021-03-02 17:06:47 +08:00
UlricQin 08dbc3c035
Delete n9e_rdb-v3.4.0.sql 2021-03-02 17:03:41 +08:00
UlricQin 3fba4390c5 generate upgrade sql for 3.7.0 2021-03-02 16:58:09 +08:00
UlricQin 500585a0a0 upgrade 3.7.0 2021-03-02 14:48:27 +08:00
Feng_Qi acaa88f1a9
add ping/net_response/http_response support (#594)
* fix port check and push debug log

1:如果服务没有监听在 0.0.0.0 上,而是监听在特定地址上的话,在 127.0.0.1 上无法检测到端口。修改为如果 127.0.0.1 检测不到话,在 identity 的地址上再检测一次。
2. http push 部分缺乏 debug 日志,把 debug log 改到 push 里面以补全。

* Update cron.go

* notify add resource name and note

* Update notify.go

* Update notify.go

修复一个当 name/note 为空值且 resource 只有一台时, 由于被 config.Set 清空
因此获取下标 index out of range 导致 panic 的 bug

* add ping, net_response, http_response plugin

增加
ping
net_response
http_response
的插件支持

* Update all.go

* add example config yml

* Update notify.go
2021-02-28 07:56:35 +08:00
yubo 005dc47868
fix: https://github.com/didi/nightingale/issues/583 (#590) 2021-02-25 15:37:35 +08:00
yubo 9c1c894e29
feature: support dlopen for prober plugin (#588) 2021-02-23 18:04:03 +08:00
yubo b055bc73c5
add a demo plugin for prober (#586)
* add a demo plugin for prober

* update demo plugin
2021-02-23 11:41:38 +08:00
yubo 322cbf27dc
use testhttp instead of http for ut (#585)
* use testhttp instead of http for ut
* bugfix: add username check
2021-02-22 11:25:02 +08:00
UlricQin 417a13c1be bugfix: judge: redis conn pools 2021-02-07 17:07:00 +08:00
UlricQin 05819497e4
Update README.md 2021-02-06 11:28:07 +08:00
yubo 66c93f472a
update vendor for local_build (#578) 2021-02-03 19:10:19 +08:00
710leo 023b23a0ef fix build monapi 2021-02-03 17:01:54 +08:00
710leo 900896c045 add sync stra log 2021-02-03 16:55:14 +08:00
yubo db97453c54
build error fix: replace grpc to 1.29.1 (#577) 2021-02-03 16:42:27 +08:00
sun763625521 3fdd61edfc
新增rabbitmq、haproxy组件采集 (#575)
* add

* add prober plugin for rabbitmq

* add prober plugin for haproxy

Co-authored-by: root <root@localhost.localdomain>
Co-authored-by: UlricQin <ulric.qin@gmail.com>
2021-02-03 15:02:48 +08:00
yubo e839c6bd6b
bugfix: update session param has a mistake (#576)
* add cache counter for login part.1

* add login counter api

* feature: prober support multi-metric with different tags

* bugfix: session counter reset

* add models.stats for counter

* bugfix: update session param has a mistake
2021-02-03 15:00:14 +08:00
lynxcat 2d9bc50401
新增zookeeper,tengine采集 (#574)
* add prober plugin for elasticsearch

* 新增zookeeper,tengine插件,补齐了prober采集插件的测试

* 添加zookeeper插件描述

Co-authored-by: lynxcat <lynxcatdeng@gmail.com>
2021-02-03 14:43:39 +08:00
qinyening c48d8b93dd
add some permssion api (#572) 2021-02-03 11:01:29 +08:00
alick-liming e2e96a04d1
权限调整 (#571) 2021-02-02 14:03:05 +08:00
yubo c724896ecd
adjust session GC interval (#569)
* keep at least 4 history passwords

* adjust gc time for session
2021-02-01 23:29:38 +08:00
燕小乙 914aaa0a96
修改k8s-mon ksm,控制平面大盘 (#567)
* m3db writetagged应该并发做,不然会导致transfer rpc变慢

* go func指针传参问题

* 新增k8s-mon三个大盘文件

* 新增k8s-mon三个大盘文件

* 修改k8s-mon三个大盘文件
2021-01-31 11:56:44 +08:00