Skip to content

Commit

Permalink
fix: switch to vanilla otel boto distro after our pr merged to upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
sagivoululumigo committed Sep 6, 2023
1 parent c436f0c commit d7957ce
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d7957ce

Please sign in to comment.