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
I'm currently facing issues with buildkit always enabling the OTEL traces exporter during build.
The software I'm trying to run during the build, uses OTEL itself. Thus, because buildkit configures the OTEL_TRACES_EXPORTER environment variable, it tries to export the traces it generates. But because of grpc/grpc#9538 this fails, as buildkit seems to use SSL for GRPC communication, but does not configure the exporter with TLS (grpc+tls).
Because of this, I tried to disable the traces export, because I do not need it at all. But setting the --driver-opt="env.OTEL_TRACES_EXPORTER=none" did not work, even though the environment variable is set on the build container.
For reference: I'm using a Fedora 40 with the following versions:
I've tried to explicitly downgrade buildkit to v0.12.5 as described in #4743 but it does not solve my issue.
So the question is: How can I disable OpenTelemetry in buildkit and prevent it from adding the ´OTEL_TRACES_EXPORTER` environment variable to the build env?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I'm currently facing issues with buildkit always enabling the OTEL traces exporter during build.
The software I'm trying to run during the build, uses OTEL itself. Thus, because buildkit configures the
OTEL_TRACES_EXPORTER
environment variable, it tries to export the traces it generates. But because of grpc/grpc#9538 this fails, as buildkit seems to use SSL for GRPC communication, but does not configure the exporter with TLS (grpc+tls
).Because of this, I tried to disable the traces export, because I do not need it at all. But setting the
--driver-opt="env.OTEL_TRACES_EXPORTER=none"
did not work, even though the environment variable is set on the build container.For reference: I'm using a Fedora 40 with the following versions:
I've tried to explicitly downgrade buildkit to v0.12.5 as described in #4743 but it does not solve my issue.
So the question is: How can I disable OpenTelemetry in buildkit and prevent it from adding the ´OTEL_TRACES_EXPORTER` environment variable to the build env?
Thanks in advance!
The text was updated successfully, but these errors were encountered: