Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Flume input plugin #3771
Thanks for the pull request @hikkikuma1991, could you modify the HTTP client to use a non-default Transport and add SSL/TLS support? A good example of this is in the nginx plugin: https://github.com/influxdata/telegraf/blob/master/plugins/inputs/nginx/nginx.go#L63
Also, can you add some unit tests for the example JSON? Again you could base it on the nginx tests: https://github.com/influxdata/telegraf/blob/master/plugins/inputs/nginx/nginx_test.go
Well, I create Flume plugin 2 weeks ago but didn't find time to push it
I will make some PR to @hikkikuma1991 repo to add some useful parts like:
@hikkikuma1991 I'd suggest default behavior to be collecting all metrics, and make option to filter them in case that needed, because in Flume the metrics could be extended with extra classes.
@hikkikuma1991 looks like according to the flume docs, monitoring is still a work in progress: https://flume.apache.org/FlumeUserGuide.html#monitoring
We'll probably hold off merging this until more people are using it or the flume monitoring stabilizes.