-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Avoid usage of github.com/mtrmac/gpgme #5241
Comments
This comes from the Podman receiver.
Also, |
Collector itself excludes these dependencies when building as they are not actually needed for the podman receiver. You can do the same by using the following build tags:
|
@mx-psi I actually had issues also running |
podmanreceiver uses the official Go podman bindings but the bindings pull in all of the podman codebase and it's dependencies. We are essentially embedding podman into the collector. This causes a number of problems both at compile and run time. This commit ditches the podman library and uses net/http to consume the podman v3 REST API instead. Fixes #5244 Fixes #5414 Fixes #5241 Fixes #5245
Describe the bug
Trying to compile the otel collector contrib on MacOs fails within missing definitions. Furthermore, depends on cgo and limits ability to create a static binary that can be shipped anywhere.
Steps to reproduce
On an MacOS machine / Windows run
make test
What did you expect to see?
make test
works without issue.What did you see instead?
What version did you use?
Version: main @ 0d78df6
Environment
OS: MacOs 11.6
Compiler(if manually compiled): go 1.17.0
The text was updated successfully, but these errors were encountered: