From 01b839e7c81122fe83b1f8fd589f15042e3d22a8 Mon Sep 17 00:00:00 2001 From: Matthias Haeussler Date: Mon, 29 Jul 2024 12:49:09 +0200 Subject: [PATCH] python aws lambda fix --- .../exercises/instrumentation/automatic/zero-code/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tutorial/content/exercises/instrumentation/automatic/zero-code/index.md b/tutorial/content/exercises/instrumentation/automatic/zero-code/index.md index 19115cd..15c9cf9 100644 --- a/tutorial/content/exercises/instrumentation/automatic/zero-code/index.md +++ b/tutorial/content/exercises/instrumentation/automatic/zero-code/index.md @@ -366,6 +366,11 @@ Now run the following command to enable the auto-instrumented invocation of Pyth opentelemetry-bootstrap --action=install ``` +For the current version we are facing a bug here and temporarily need to do this step: +```sh +pip uninstall opentelemetry-instrumentation-aws-lambda +``` + As a final step we need to set some environment variables - almost identical to the Java part. They will configure the behaviour of the instrumented app and make it send only trace metrics to the OpenTelemetry collector.