bring-your-own-telegraf icon indicating copy to clipboard operation
bring-your-own-telegraf copied to clipboard

How to add an external plugin?

Open win32nipuh opened this issue 5 years ago • 3 comments
trafficstars

I'd like to build Docker Telegraf with an external output plugin: postgresql. The InfluxData does not contain this plugin but it exists here https://github.com/svenklemm/telegraf

What I need to do build Talagraf+postgresql ouput plugin?

Thank you!

win32nipuh avatar Aug 25 '20 13:08 win32nipuh

@win32nipuh Hmm. I can add extra hooks for this. Can you let me know if this is still a use-case you wish to explore and I'll get something working for you.

rawkode avatar Feb 01 '21 15:02 rawkode

yes, this is also a real use-case for our team in production. We develop a custom plugin and we want to use your super byot solution to optimize the docker image. but we can't esaily integrate our custom plugin in the dockerfile. The hook should be useful.

mengyu-dev avatar Apr 13 '21 10:04 mengyu-dev

@mengyu-dev Do you keep your plugins in their own repository and you want them compiled against the Telegraf binary?

If so, I will work on this tomorrow.

rawkode avatar Sep 08 '21 15:09 rawkode