I'm currently trying to execute a command within a container but provide custom OTEL_... environment variables to it from the outside. Sadly, it looks like Dagger is somewhere overriding at least the following three:
OTEL_EXPORTER_OTLP_TRACES_ENDPOINTOTEL_EXPORTER_OTLP_TRACES_PROTOCOLOTEL_TRACE_PARENT
Is there some way to disable this behaviour? I've already tried it with .WithoutEnvVariable but sadly to no avail 🙁
The main problem is, that Dagger (or buildkit) sets the endpoint to http:///dev/otel-grpc.sock and the protocol to grpc and I'd like to use http/protobuf instead.
Thank you 😄