diff --git a/python/src/otel/otel_sdk/otel-instrument b/python/src/otel/otel_sdk/otel-instrument index c159be6b79..dc6ee6ba49 100755 --- a/python/src/otel/otel_sdk/otel-instrument +++ b/python/src/otel/otel_sdk/otel-instrument @@ -151,4 +151,4 @@ export _HANDLER="otel_wrapper.lambda_handler"; # - Call the upstream auto instrumentation script -python3 $LAMBDA_LAYER_PKGS_DIR/bin/opentelemetry-instrument "$@" +exec python3 $LAMBDA_LAYER_PKGS_DIR/bin/opentelemetry-instrument "$@"