Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Added full URL instead of full path for http requests

Mikail KOCAK8c8360949267
diff --git a/saleor/graphql/views.py b/saleor/graphql/views.py
index 6e4c38aba1..bc275d75a1 100644
--- a/saleor/graphql/views.py
+++ b/saleor/graphql/views.py
@@ -122,7 +122,9 @@ class GraphQLView(View):
span = scope.span
span.set_tag(ot_tags.COMPONENT, "http")
span.set_tag(ot_tags.HTTP_METHOD, request.method)
- span.set_tag(ot_tags.HTTP_URL, request.get_full_path())
+ span.set_tag(
+ ot_tags.HTTP_URL, request.build_absolute_uri(request.get_full_path())
+ )
execution_result = self.execute_graphql_request(request, data)
status_code = 200