Commit Graph

669 Commits

Author SHA1 Message Date
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
yubo c53a66d20e
remove sql.mon.collect_rule.created (#542) 2021-01-23 13:28:45 +08:00
Ulric Qin 335b113327 release 3.5.1 2021-01-23 11:04:58 +08:00
Ulric Qin 122590265d ignore EOF error 2021-01-23 10:59:57 +08:00
lynxcat aab2f8b090
add a method to get the Endpoint (#540)
Co-authored-by: lynxcat <lynxcatdeng@gmail.com>
2021-01-23 08:50:36 +08:00
shaojie f0a4c130f6
后端日志格式更改 (#539) 2021-01-23 08:06:02 +08:00
yubo 029f0a09ba
bugfix: return err when unable to get monapi.collectRule (#537) 2021-01-22 17:39:02 +08:00