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):
857
857
"http.url" : http_url ,
858
858
"endpoint" : path ,
859
859
"http.method" : method ,
860
- "resource_names" : http_url ,
860
+ "resource_names" : resource ,
861
861
"request_id" : context .aws_request_id ,
862
862
}
863
863
request_time_epoch = request_context .get ("timeEpoch" )
@@ -959,7 +959,7 @@ def create_inferred_span_from_api_gateway_websocket_event(
959
959
"operation_name" : "aws.apigateway.websocket" ,
960
960
"http.url" : http_url ,
961
961
"endpoint" : endpoint ,
962
- "resource_names" : http_url ,
962
+ "resource_names" : endpoint ,
963
963
"apiid" : api_id ,
964
964
"apiname" : api_id ,
965
965
"stage" : request_context .get ("stage" ),
@@ -1017,7 +1017,7 @@ def create_inferred_span_from_api_gateway_event(
1017
1017
"http.url" : http_url ,
1018
1018
"endpoint" : path ,
1019
1019
"http.method" : method ,
1020
- "resource_names" : http_url ,
1020
+ "resource_names" : resource ,
1021
1021
"apiid" : api_id ,
1022
1022
"apiname" : api_id ,
1023
1023
"stage" : request_context .get ("stage" ),
You can’t perform that action at this time.
0 commit comments