Add history trace command by tonistiigi · Pull Request #2904 · docker/buildx (original) (raw)
Includes wip trace command on top of #2891
The goal was for this command to show a trace of the build directly, for example, in Jaeger UI, but it looks like there isn't a simple API that would allow uploading a trace to an existing Jaeger image (their upload feature is an ephemeral client-side-only solution).
Options would be to upload the trace spans again via controller APIs or build our own UI-only image that we could pair with a simple server that can return the trace JSON. Separating from #2891 in order to not block that PR.
The Jaeger conversion is mostly reuse of some old code. Looks like there is also a github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/jaeger
package now that probably has similar functionality.