-
Notifications
You must be signed in to change notification settings - Fork 4
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
Discovery plugin #68
Comments
Hey @SuperQ, thank you for letting me know, this sounds interesting. My opinion on Go plugins is not fully formed, but it does not seem straight forward to use for anything out-of-tree: https://www.reddit.com/r/golang/comments/b6h8qq/is_anyone_actually_using_go_plugins/ (could be outdated) I am open to consider a PR that would add this option. |
Yes, we explored using actual Go plugins a couple times over the years and determined that they were unusable. This is why we went with the compile-time psudo-plugin thing. The compile-time option also means it would be easy to adopt the code in upstream Prometheus if it was popular enough. Another way to do the sidecar is the new |
Support for |
Prometheus now supports built-time plugins.
It would be cool to convert the
main
package to adiscovery
plugin so that it could be built-in to Prometheus.The text was updated successfully, but these errors were encountered: