We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c635e7 commit 7458755Copy full SHA for 7458755
1 file changed
sentry_sdk/integrations/boto3.py
@@ -76,6 +76,7 @@ def _sentry_request_created(
76
attributes={
77
"sentry.op": OP.HTTP_CLIENT,
78
"sentry.origin": Boto3Integration.origin,
79
+ SPANDATA.RPC_METHOD: f"{service_id}/{operation_name}",
80
},
81
)
82
if request.url is not None:
@@ -85,7 +86,6 @@ def _sentry_request_created(
85
86
span.set_attribute(SPANDATA.URL_QUERY, parsed_url.query)
87
span.set_attribute(SPANDATA.URL_FRAGMENT, parsed_url.fragment)
88
- span.set_attribute(SPANDATA.RPC_METHOD, f"{service_id}/{operation_name}")
89
if request.method is not None:
90
span.set_attribute(SPANDATA.HTTP_REQUEST_METHOD, request.method)
91
else:
0 commit comments