You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running this inspection on a binary built with go build and go.mod, we are able to see the deps in the executable. However, when inspecting an executable built with bazel, the deps are not there.
Hi,
Me and https://github.com/RonFed are working on OpenTelemetry auto instrumentation module. This issue is regarding the one here
In order to correctly instrument a go binary, we need to extract the dependencies and their versions from the executable file.
We use the
debug/buildinfo
from the standard library, doing something similar to this:When running this inspection on a binary built with
go build
andgo.mod
, we are able to see the deps in the executable. However, when inspecting an executable built with bazel, the deps are not there.Example sections from our build configuration:
BUILD.bazel
deps.bzl
How can we get this info from a binary built with bazel? Any help will be appreciated
The text was updated successfully, but these errors were encountered: