Skip to content

Commit dbdc6a3

Browse files
RD-16910-1-force-flush-not-working-in-python-distro
1 parent 535323c commit dbdc6a3

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
"opentelemetry-instrumentation-asgi==0.60b1",
2727
"opentelemetry-instrumentation-aws-lambda==0.60b1",
2828
"opentelemetry-instrumentation-boto==0.60b1",
29+
"opentelemetry-instrumentation-botocore==0.60b1",
30+
"opentelemetry-instrumentation-boto3sqs==0.60b1",
2931
"opentelemetry-instrumentation-fastapi==0.60b1",
3032
"opentelemetry-instrumentation-flask==0.60b1",
3133
"opentelemetry-instrumentation-grpc==0.60b1",

src/lumigo_opentelemetry/instrumentations/botocore/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ def assert_instrumented_package_importable(self) -> None:
2020
from botocore.exceptions import ClientError # noqa
2121

2222
def install_instrumentation(self) -> None:
23-
# We're using a copied version of this instrumentor until this PR will be merged:
24-
# https://github.com/open-telemetry/opentelemetry-python-contrib/pull/1350
25-
# After the merge, delete the following line and uncomment the next line
26-
from lumigo_opentelemetry.external.botocore import BotocoreInstrumentor
27-
28-
# from opentelemetry.instrumentation.botocore import BotocoreInstrumentor
23+
from opentelemetry.instrumentation.botocore import BotocoreInstrumentor
24+
from opentelemetry.instrumentation.boto3sqs import Boto3SQSInstrumentor
2925

3026
BotocoreInstrumentor().instrument(
3127
request_hook=AwsParser.request_hook,
3228
response_hook=filtered_resource_hook,
3329
)
30+
Boto3SQSInstrumentor().instrument(
31+
request_hook=AwsParser.request_hook,
32+
response_hook=filtered_resource_hook,
33+
)
3434

3535

3636
def filtered_resource_hook(

0 commit comments

Comments
 (0)