From d7957ce43066e9bea1064497e4bdfc198a232eba Mon Sep 17 00:00:00 2001 From: Sagiv Oulu Date: Wed, 6 Sep 2023 15:52:52 +0300 Subject: [PATCH] fix: switch to vanilla otel boto distro after our pr merged to upstream --- .../instrumentations/botocore/__init__.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lumigo_opentelemetry/instrumentations/botocore/__init__.py b/src/lumigo_opentelemetry/instrumentations/botocore/__init__.py index daa00fc8..bd383c46 100644 --- a/src/lumigo_opentelemetry/instrumentations/botocore/__init__.py +++ b/src/lumigo_opentelemetry/instrumentations/botocore/__init__.py @@ -12,12 +12,8 @@ def check_if_applicable(self) -> None: from botocore.exceptions import ClientError # noqa def install_instrumentation(self) -> None: - # We're using a copied version of this instrumentor until this PR will be merged: - # https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1350 - # After the merge, delete the following line and uncomment the next line - from lumigo_opentelemetry.external.botocore import BotocoreInstrumentor - # from opentelemetry.instrumentation.botocore import BotocoreInstrumentor + from opentelemetry.instrumentation.botocore import BotocoreInstrumentor BotocoreInstrumentor().instrument( request_hook=AwsParser.request_hook,