Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
Overview
I created these plugins to handling with large number of metrics.
I'm using a library from Kafka Confluent called librdkafka
It was write in C/C++, so to create telegraf docker image, I had to build with static files on debian environment.
All files are in this pull request, but the image are here
Build
To build I'm follwing this steps (I'm not sure it's the best way, maybe Telegraf-team could help me improve it?)
1 - Go to Telegraf folder
2 -
docker run --name telegraf-librdkafka-deb -it -v $PWD:/go/src/app --rm otherpirate/golang1.10.1-stretch-librdkafka
3 -
ARGS=--already-builded make docker-image
Benchmark
I tried the kafka output, but it is too slow to large number of metrics per second.
All benchmark are running in the cloud.
Obs: Working on unit tests