Skip to content

Commit 26dfe09

Browse files
committed
implement uninstrument
1 parent 40a23e7 commit 26dfe09

File tree

1 file changed

+3
-0
lines changed
  • instrumentation/opentelemetry-instrumentation-boto3sqs/src/opentelemetry/instrumentation/boto3sqs

1 file changed

+3
-0
lines changed

Diff for: instrumentation/opentelemetry-instrumentation-boto3sqs/src/opentelemetry/instrumentation/boto3sqs/__init__.py

+3
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,9 @@ def _instrument(self, **kwargs: Dict[str, Any]) -> None:
437437

438438
def _uninstrument(self, **kwargs: Dict[str, Any]) -> None:
439439
unwrap(boto3, "client")
440+
unwrap(boto3, "resource")
441+
unwrap(boto3.Session, "client")
442+
unwrap(boto3.Session, "resource")
440443

441444
for client_cls in botocore.client.BaseClient.__subclasses__():
442445
self._un_decorate_sqs(client_cls)

0 commit comments

Comments
 (0)