File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -857,7 +857,7 @@ def create_inferred_span_from_lambda_function_url_event(event, context):
857857 "http.url" : http_url ,
858858 "endpoint" : path ,
859859 "http.method" : method ,
860- "resource_names" : http_url ,
860+ "resource_names" : resource ,
861861 "request_id" : context .aws_request_id ,
862862 }
863863 request_time_epoch = request_context .get ("timeEpoch" )
@@ -959,7 +959,7 @@ def create_inferred_span_from_api_gateway_websocket_event(
959959 "operation_name" : "aws.apigateway.websocket" ,
960960 "http.url" : http_url ,
961961 "endpoint" : endpoint ,
962- "resource_names" : http_url ,
962+ "resource_names" : endpoint ,
963963 "apiid" : api_id ,
964964 "apiname" : api_id ,
965965 "stage" : request_context .get ("stage" ),
@@ -1017,7 +1017,7 @@ def create_inferred_span_from_api_gateway_event(
10171017 "http.url" : http_url ,
10181018 "endpoint" : path ,
10191019 "http.method" : method ,
1020- "resource_names" : http_url ,
1020+ "resource_names" : resource ,
10211021 "apiid" : api_id ,
10221022 "apiname" : api_id ,
10231023 "stage" : request_context .get ("stage" ),
You can’t perform that action at this time.
0 commit comments