Commit Graph

625 Commits

Author SHA1 Message Date
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
UlricQin b5becda6fc go mod vendor 2021-01-31 11:04:17 +08:00
Ulric Qin 37868777e7 release 3.6.0 2021-01-31 10:59:01 +08:00
Ulric Qin 3663ed0235 uniq res bindings 2021-01-31 10:52:04 +08:00
yubo 7fa84af66a
add session get api (#566) 2021-01-31 10:48:37 +08:00
Ulric Qin 55718a09e0 refactor bug_report.md 2021-01-30 10:14:57 +08:00
yubo 3754e0cbe3
remove local telegraf plugins.inputs (#563) 2021-01-29 23:49:48 +08:00
lynxcat 3df2536bb6
add prober plugin for elasticsearch (#562)
Co-authored-by: lynxcat <lynxcatdeng@gmail.com>
2021-01-29 23:47:50 +08:00
UlricQin 9e07f1924c
Update README.md 2021-01-29 08:28:40 +08:00
yubo fbf4544849
add accumulator for prober & generate default plugin config (#560)
* add accumulator for prober & generate default plugin config

* add prometheus plugin

* add prober plugin test util
2021-01-29 08:26:28 +08:00
lynxcat 2d4e6bb8da
prober nginx 采集插件 (#557)
* add a method to get the Endpoint

* 增加nginx插件,修改control。支持./control build prober job这种多个参数

* 修改提示

Co-authored-by: lynxcat <lynxcatdeng@gmail.com>
2021-01-28 17:23:46 +08:00
UlricQin 211dfc62e4 code refactor 2021-01-28 10:07:48 +08:00
UlricQin 679c5892a4
Revert "add Prometheus as a plugin for prober (#556)" (#558)
This reverts commit 1dac755787.
2021-01-27 23:51:42 +08:00
yubo 1dac755787
add Prometheus as a plugin for prober (#556)
* update changelog

* add prometheus as a plugin for prober

* bugfix: add counter type for summary & histogram

* ignore summary, histogram for prometheus plugin
2021-01-27 23:47:53 +08:00
燕小乙 1f4e0f5e73
新增k8s-mon三个大盘文件 (#555)
* m3db writetagged应该并发做,不然会导致transfer rpc变慢

* go func指针传参问题

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

* 新增k8s-mon三个大盘文件
2021-01-27 19:20:00 +08:00
UlricQin b616894f2e code refactor 2021-01-27 17:46:56 +08:00
UlricQin 7a910709f9 code refactor 2021-01-27 10:12:37 +08:00
UlricQin d61f8dac2e Merge branch 'master' of https://github.com/didi/nightingale 2021-01-27 08:53:14 +08:00
UlricQin 6d1fecc408 modify README 2021-01-27 08:52:40 +08:00
UlricQin 366d44959e upgrade go mod 2021-01-26 20:45:50 +08:00
UlricQin d37c8f5387 add doc 2021-01-26 20:38:42 +08:00
UlricQin 06c5ca412a code refactor 2021-01-26 18:14:45 +08:00
yubo afa95f79cd
update changelog (#552) 2021-01-26 18:13:42 +08:00
yubo 8fe3457e0a
support anonymous struct field for monapi.plugins.template (#547)
* move get collectrule api from /api/mon to /v1/mon

* support anonymous struct field for monapi.plugins.template

* add tls with mysql, redis and mongodb

* add rdb.user.pwdExpiresAt
2021-01-25 20:43:15 +08:00
alick-liming 7bfd60be86
资源排行去掉内置租户 (#544)
Co-authored-by: alickliming <alickliming@didi.global.com>
2021-01-25 10:28:40 +08:00
UlricQin b7284ada94 use more conns for mysql 2021-01-25 10:19:50 +08:00
yubo 66e2dc73f9
remove prober RPC.port from config (#543)
* remove prober rpc.port from yml config

* remove prober.config.rpcPort && add prober.plugins.config.metrics checker
2021-01-24 14:09:08 +08:00
Ulric Qin d254e5670b rebuild table collect_rule 2021-01-23 17:02:37 +08:00
Ulric Qin 9c945b33fb is tag value is blank, use nil instead 2021-01-23 14:08:44 +08:00