Skip to content

Commit b3bc803

Browse files
author
Emanuele Palazzetti
authored
Merge pull request #315 from raphael/fix_aws_meta
Change ServiceMetadata app for AWS
2 parents 5cde922 + 1be263d commit b3bc803

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

ddtrace/contrib/aiobotocore/patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def patch():
2121
setattr(aiobotocore.client, '_datadog_patch', True)
2222

2323
wrapt.wrap_function_wrapper('aiobotocore.client', 'AioBaseClient._make_api_call', _wrapped_api_call)
24-
Pin(service='aws', app='aiobotocore', app_type='web').onto(aiobotocore.client.AioBaseClient)
24+
Pin(service='aws', app='aws', app_type='web').onto(aiobotocore.client.AioBaseClient)
2525

2626

2727
def unpatch():

ddtrace/contrib/boto/patch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ def patch():
3131

3232
wrapt.wrap_function_wrapper('boto.connection', 'AWSQueryConnection.make_request', patched_query_request)
3333
wrapt.wrap_function_wrapper('boto.connection', 'AWSAuthConnection.make_request', patched_auth_request)
34-
Pin(service="aws", app="boto", app_type="web").onto(boto.connection.AWSQueryConnection)
35-
Pin(service="aws", app="boto", app_type="web").onto(boto.connection.AWSAuthConnection)
34+
Pin(service="aws", app="aws", app_type="web").onto(boto.connection.AWSQueryConnection)
35+
Pin(service="aws", app="aws", app_type="web").onto(boto.connection.AWSAuthConnection)
3636

3737

3838
def unpatch():

ddtrace/contrib/botocore/patch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def patch():
2828
setattr(botocore.client, '_datadog_patch', True)
2929

3030
wrapt.wrap_function_wrapper('botocore.client', 'BaseClient._make_api_call', patched_api_call)
31-
Pin(service="aws", app="botocore", app_type="web").onto(botocore.client.BaseClient)
31+
Pin(service="aws", app="aws", app_type="web").onto(botocore.client.BaseClient)
3232

3333

3434
def unpatch():

0 commit comments

Comments
 (0)