We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0415129 commit a430d56Copy full SHA for a430d56
1 file changed
lib/shared.bash
@@ -298,13 +298,15 @@ function run_docker_compose() {
298
echo "~~~ :no_entry_sign: Disabling docker-compose OTEL traces"
299
echo "DEBUG: TRACEPARENT: ${TRACEPARENT:-NOT SET}"
300
301
- env -u TRACEPARENT \
302
- -u TRACESTATE \
303
- -u OTEL_EXPORTER_OTLP_ENDPOINT \
304
- -u OTEL_EXPORTER_OTLP_TRACES_ENDPOINT \
305
- OTEL_SDK_DISABLED=true \
306
- OTEL_TRACES_EXPORTER=none \
307
- plugin_prompt_and_run "${command[@]}" "$@"
+ (
+ unset TRACEPARENT
+ unset TRACESTATE
+ unset OTEL_EXPORTER_OTLP_ENDPOINT
+ unset OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
+ export OTEL_SDK_DISABLED=true
+ export OTEL_TRACES_EXPORTER=none
308
+ plugin_prompt_and_run "${command[@]}" "$@"
309
+ )
310
else
311
plugin_prompt_and_run "${command[@]}" "$@"
312
fi
0 commit comments