Commit Graph

51 Commits

Author SHA1 Message Date
Ulric Qin 17d37dc68b code refactor for http server 2022-08-03 10:41:44 +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 8f60ccafd0 add processor_enum.value_mappings support 2022-07-25 20:39:58 +08:00
Ulric Qin 29a8ba28bd support metrics_name_prefix 2022-07-25 20:15:50 +08:00
Ulric Qin 10b7043aea code refactor for InternalConfig 2022-07-25 19:27:14 +08:00
Ulric Qin 73bafbccb0 rename interval.go to inline.go 2022-07-24 00:29:15 +08:00
Ulric Qin 62e0361350 a real big code refactor 2022-07-24 00:18:00 +08:00
kongfei d70960cb5b support log level for prometheus 2022-07-12 12:57:03 +08:00
kongfei e083821da3 add default value for some parameters 2022-07-12 08:51:02 +08:00
kongfei 027cf18f99 auto discovery && relabel for prometheus 2022-07-11 22:55:56 +08:00
Ulric Qin 3443d71efe add args: interval 2022-07-11 20:40:30 +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 2a91c66d9f delete logs item output 2022-06-24 14:49:45 +08:00
kongfei 12be2e8a19 send logs to kafka 2022-06-24 13:42:41 +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
Ulric Qin 654092601f os.Expand kubernetes url 2022-06-14 23:47:10 +08:00
Ulric Qin 8a4afb4ea2 support template for prometheus label value 2022-06-10 13:10:31 +08:00
Ulric Qin 7263332b1c supporting env var for config.toml hostname 2022-06-09 19:16:57 +08:00
Ulric Qin 179fcbc47c code refactor: common http proxy 2022-06-06 08:31:51 +08:00
kongfei 4d90e43c1b Merge branch 'main' into feature_logs_agent 2022-06-02 21:41:21 +08:00
kongfei 886b7a0cab reorganize pkg/util 2022-06-02 21:13:30 +08:00
kongfei a93a696bd0 reorganize log config 2022-06-02 19:40:44 +08:00
kongfei fa87b9293a reorganize log config 2022-06-02 19:29:49 +08:00
kongfei f42daec17a fix config parser error 2022-06-02 00:44:11 +08:00
kongfei f83b7a9d58 fix log config parser 2022-06-02 00:11:15 +08:00
kongfei efdbf45e5e fix log config parser 2022-06-02 00:08:37 +08:00
kongfei 328d647599 fix log config parser 2022-06-02 00:06:58 +08:00
kongfei f9ab1e6e66 try fuck log config 2022-06-01 23:54:45 +08:00
kongfei 74c5ae30a4 try mapstructure 2022-06-01 23:44:03 +08:00
kongfei 994fa8aa95 expose config loading error 2022-06-01 18:54:44 +08:00
kongfei f840ffdc48 extrace log config 2022-06-01 18:15:10 +08:00
Ulric Qin fec541e565 code refactor 2022-05-31 18:02:19 +08:00
Ulric Qin 23873a2be1 refactor code: get hostname 2022-05-31 16:53:21 +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
kongfei 3b34948649 log agent 2022-05-31 01:23:19 +08:00
Ulric Qin f9733e10d7 add Makefile 2022-05-29 17:37:57 +08:00
Ulric Qin 5e9bda3cf6 remove some configurations of writer 2022-05-28 09:24:30 +08:00
Ulric Qin 6e982af96c code refactor: extract Interval struct so every plugin no need to implement function GetInterval 2022-04-29 00:02:20 +08:00
Ulric Qin 10573a3b26 auto detect hostname and ip 2022-04-27 17:54:11 +08:00
Ulric Qin 519b555c23 add some test log 2022-04-18 23:35:47 +08:00
Ulric Qin 7a30b6756e use config.Duration instead int64 2022-04-17 12:54:32 +08:00
Ulric Qin 24bc560390 refactor framework 2022-04-16 16:52:23 +08:00
Ulric Qin 338bb50b66 use _ vars 2022-04-15 13:41:02 +08:00
Ulric Qin 88a454b27a add interval configuration in global section 2022-04-14 23:00:39 +08:00
Ulric Qin fb4f23c6a6 add system collector 2022-04-14 18:34:27 +08:00
Ulric Qin 6ae0309cf6 labels overwrite 2022-04-13 23:56:04 +08:00
Ulric Qin 142cfb5f8d support arg: --test 2022-04-13 23:35:43 +08:00