Commit Graph

109 Commits

Author SHA1 Message Date
ziv 76c0124214 reader code refactor 2022-07-19 18:43:05 +08:00
Ulric Qin db0f4c9f6e add plugin dns_query 2022-07-17 15:00:46 +08:00
kongfei b89ceedfc3 add deployment.yaml for scrape k8s apiserver & coredns 2022-07-14 16:49:38 +08:00
ulricqin 745e7a94a0
Merge pull request #92 from ysyneu/main
Add MongoDB metrics collector
2022-07-13 15:03:28 +08:00
Ulric Qin 4200e7215b Merge branch 'main' of github.com:flashcatcloud/categraf 2022-07-13 13:17:51 +08:00
Ulric Qin 476b7bc9d3 add redis_sentinel 2022-07-13 13:17:12 +08:00
ysyneu 0643dbf9ef
Merge branch 'flashcatcloud:main' into main 2022-07-13 11:49:24 +08:00
kongfei 21940fd7f5 [fix] prometheus config may be nil 2022-07-13 11:43:03 +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
Ulric Qin 796ba27692 jolokia v1 done 2022-07-12 16:08:38 +08:00
ulricqin b9ed44788c
Merge pull request #83 from kongfei605/scrape_k8s
autodiscovery scrape and  relabel
2022-07-12 14:13:07 +08:00
kongfei d70960cb5b support log level for prometheus 2022-07-12 12:57:03 +08:00
Ulric Qin 4d7f203ca0 refactor plugin logstash 2022-07-12 09:17:57 +08:00
ulricqin 7eac4c7a1a
Merge pull request #82 from lsy1990/logstash-patch
add logstash plugin
2022-07-12 08:17:51 +08:00
kongfei 027cf18f99 auto discovery && relabel for prometheus 2022-07-11 22:55:56 +08:00
lsy1990 ecdd7b8ee9 add logstash plugin 2022-07-11 20:45:49 +08:00
Ulric Qin 3443d71efe add args: interval 2022-07-11 20:40:30 +08:00
Ulric Qin 4c86cfd599 print error if failed to load input configs 2022-07-11 09:30:07 +08:00
Ulric Qin e83fac0b77 resolve panic and add some debug log 2022-07-08 13:49:41 +08:00
Ulric Qin 8c61683606 get output quickly 2022-07-07 10:12:26 +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
Ulric Qin b4d2c7f28d replace invalid chars in metric name 2022-06-29 08:57:38 +08:00
Ulric Qin a269430934 register es plugin 2022-06-29 07:16:54 +08:00
yushuangyu ae7ec8008e add trace support 2022-06-28 16:33:27 +08:00
kongfei605 88263fdb62
Merge pull request #49 from kongfei605/fix_log_endpoints
fix building log endpoints without error judge
2022-06-24 18:22:06 +08:00
kongfei 190d067401 fix building log endpoints without error judge 2022-06-24 18:20:59 +08:00
kongfei 0d80ef5623 fix building log endpoints without error judge 2022-06-24 18:19:23 +08:00
Ulric Qin fe5a0f71b9 refactor var name 2022-06-24 17:29:06 +08:00
Ulric Qin f3b2569d3b refactor input reader 2022-06-24 17:14:59 +08:00
Ulric Qin e18d26f3ce refactor metrics_agent and reader 2022-06-24 17:00:49 +08:00
Ulric Qin de571b21f2 refactor agent 2022-06-24 16:35:46 +08:00
kongfei 12be2e8a19 send logs to kafka 2022-06-24 13:42:41 +08:00
Ulric Qin 5a72490192 add plugin: conntrack 2022-06-21 10:15:45 +08:00
ulricqin 0f05600c16
Merge pull request #27 from hctech/feature_zookeeper
采集zookeeper监控数据
2022-06-20 17:27:13 +08:00
Ulric Qin cb3b4050a0 output plugin ck support idle_duration 2022-06-17 20:21:37 +08:00
Ulric Qin 52e372adf3 add clickhouse as output plugin, beta version 2022-06-17 19:04:02 +08:00
huangchao ff879d7d75 采集zookeeper监控数据 2022-06-14 18:09:22 +08:00
Ulric Qin 792f892024 registry kubernetes plugin 2022-06-14 17:12:58 +08:00
Ulric Qin 95007aaf3c validate and tidy label key 2022-06-07 11:23:01 +08:00
Ulric Qin 65fdd87341 register docker plugin in agent.go 2022-06-07 10:40:00 +08:00
kun f86a536e5c agent: use const for input file prefix 2022-06-04 16:21:53 +08:00
kongfei 4d90e43c1b Merge branch 'main' into feature_logs_agent 2022-06-02 21:41:21 +08:00
kongfei 687c344c7b reorganize log pkg 2022-06-02 19:55:13 +08:00
kongfei a93a696bd0 reorganize log config 2022-06-02 19:40:44 +08:00
kongfei fc3eac28e6 fix adding log source failure 2022-06-02 16:35:28 +08:00
kongfei 62bffaefab LogConfig may be nil 2022-06-02 11:06:34 +08:00
kongfei 9fca05135d fix log agent exit when there is no inputs 2022-06-02 10:57:43 +08:00
kongfei 589f8c1f74 start log agent even if no instance is confiured 2022-06-02 01:08:51 +08:00
kongfei 1f6a816969 keep logs_agent simple 2022-06-02 01:02:21 +08:00