Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a docker container with plugin support #369

Closed
mildebrandt opened this issue Feb 10, 2020 · 4 comments
Closed

Create a docker container with plugin support #369

mildebrandt opened this issue Feb 10, 2020 · 4 comments

Comments

@mildebrandt
Copy link

Create a docker container of telegraf that has plugin support. Enabling plugin support is outlined here: influxdata/telegraf#6393

The plugin support in telegraf lets us include plugins without needing to compile our own version of telegraf. However, since a version of telegraf with plugin support isn't built as part of the official release process, we need to compile our own version of telegraf.

What we'd like to do is, create a docker container based on an officially released telegraf container and package our plugins and conf files along side.

@russorat
Copy link
Contributor

@mildebrandt thanks for this request. I remember there were some unique requirements for the build process using Go plugins, so this might take some investigation to figure out.

@mildebrandt
Copy link
Author

mildebrandt commented Feb 11, 2020

Thanks for looking into it. From the linked PR, I thought it was just adding the goplugin tag to the build command. I'll be attempting to build with that tag and writing external plugins...I'll be sure to post any issues I come across.

@mildebrandt
Copy link
Author

I'm beginning to think there's no good way to support this with Go's limitations right now.

golang/go#27751

golang/go#26759

https://www.reddit.com/r/golang/comments/b6h8qq/is_anyone_actually_using_go_plugins/ejkxd2k/

@danielnelson
Copy link
Contributor

I think for now let's close this issue and we can reevaluate if there are improvements to the plugin package in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants