Commit Graph

36 Commits

Author SHA1 Message Date
lsy1990 168220d8aa
add arp_packet plugin (#182)
* add plugin arp stat

* add conf for arp

* remove lock

* fetch device ip

* update var to instance

* refector code

* refector code

* add RWlock

* Update arp_packet.go

* Update arp_packet.go

Co-authored-by: ulricqin <ulricqin@qq.com>
2022-09-25 19:42:51 +08:00
lesteryou 73c10389b6
feature: Add phpfpm plugin (#188)
* add nginx plugin

* update nginx.toml for nginx plugin

* Update nginx.go

* add custom headers in writer

* Update writer.go

* feture: add phpfpm plugin

Co-authored-by: ulricqin <ulricqin@qq.com>
2022-09-21 12:03:46 +08:00
kongfei 5e571277d4 snmp plugin 2022-09-09 17:16:59 +08:00
kongfei605 4fcff44ecf
Inputs ipvs (#158)
* add usage report

* run report timer afert starting

* report after agent starting

* expand report interval

* add ipvs plugin

* retag build tags

* autoregister ipvs plugin

* delete instance from ipvs plugin

* redefine report

* update readme of ipvs
2022-08-16 09:05:31 +08:00
JellyTony af8f56b037
feat(http): 增加 http server 和 prometheus、opentsdb、openfalcon 协议接口 (#136)
* feat(http): 增加 http server 和 prometheus、opentsdb、openfalcon 协议接口

* refactor: 重构

* fix: 致命日志改为普通日志

* refactor: 去除无用的文件

* fix: 修复 bug

* feat: 指标上报接口增加 忽略 全局标签和 hostname 标签设置

* refactor: 重构

* refactor: 去除无用函数
2022-08-03 09:05:49 +08:00
Ulric Qin a7b4082266 fix plugin switch_legacy: concurrentmap write 2022-07-13 18:16:31 +08:00
yushuangyu 87c54fb748 merge and resolve 2022-07-13 11:24:37 +08:00
yushuangyu 6ddb569e1a add MongoDB metrics collector 2022-07-13 11:19:49 +08:00
kongfei 027cf18f99 auto discovery && relabel for prometheus 2022-07-11 22:55:56 +08:00
yushuangyu d4970d7d90 update go mod 2022-07-04 15:47:53 +08:00
yushuangyu b004dc4c61 1. add kafka metrics collector
2. change Sample funcs from package inputs to types to avoid cycle imports
3. add runtimex.Stack to print stack detail when panic
2022-07-03 22:01:41 +08:00
yushuangyu e11cc6677e add more docs for traces.yaml 2022-06-28 20:11:39 +08:00
yushuangyu ae7ec8008e add trace support 2022-06-28 16:33:27 +08:00
kongfei 12be2e8a19 send logs to kafka 2022-06-24 13:42:41 +08:00
Ulric Qin 52e372adf3 add clickhouse as output plugin, beta version 2022-06-17 19:04:02 +08:00
Ulric Qin e2640c083b prometheus plugin: support get scrape urls from consul 2022-06-09 18:53:25 +08:00
Ulric Qin 9759dea2c8 add docker plugin v1 2022-06-07 10:36:17 +08:00
kongfei 672f4c6c22 upgrade gogo/protobuf for potential security vulnerabilities 2022-06-03 13:42:44 +08:00
kongfei 9d3598aaf6 merge master 2022-05-31 09:59:38 +08:00
kongfei 2d4989680b logs config 2022-05-31 09:43:14 +08:00
Ulric Qin 2bd08b84ea try to support windows 2022-05-29 17:03:03 +08:00
Ulric Qin 5feed0e936 upgrade package github.com/toolkits/pkg 2022-05-29 11:37:15 +08:00
Ulric Qin b16543bf2e switch_legacy v1 2022-05-27 19:13:30 +08:00
Ulric Qin 3699e1b4a5 scrape semple /metrics 2022-04-28 22:19:40 +08:00
Ulric Qin 4980450a97 refactor framework 2022-04-25 15:34:15 +08:00
Ulric Qin e700338f10 add redis plugin v1 2022-04-23 23:33:46 +08:00
Ulric Qin e79e5e4e27 ping plugin done 2022-04-19 18:09:16 +08:00
Ulric Qin 91da633fdb add collector oracle framework 2022-04-18 17:35:16 +08:00
Ulric Qin 213b81e2a4 add collector exec 2022-04-18 14:23:00 +08:00
Ulric Qin e40c5ae3d2 add diskio collector 2022-04-15 16:44:57 +08:00
Ulric Qin fb4f23c6a6 add system collector 2022-04-14 18:34:27 +08:00
Ulric Qin 142cfb5f8d support arg: --test 2022-04-13 23:35:43 +08:00
Ulric Qin 8e14600321 code refactor 2022-04-13 20:12:20 +08:00
Ulric Qin 61019631b2 read input plugin's configurations successfully 2022-04-13 16:24:12 +08:00
Ulric Qin c9ad83d0e0 add command flag 2022-04-13 14:09:33 +08:00
Ulric Qin e8397d76d0 init project 2022-04-13 12:36:01 +08:00