File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
src/lumigo_opentelemetry/instrumentations/botocore Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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
3636def filtered_resource_hook (
You can’t perform that action at this time.
0 commit comments