Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Added client_ip as additional (non-standard) field and IP origin log
Mikail KOCAK9ed65fa17159
diff --git a/saleor/graphql/views.py b/saleor/graphql/views.pyindex b8e153bbe5..91f7540b84 100644--- a/saleor/graphql/views.py+++ b/saleor/graphql/views.py@@ -134,6 +134,10 @@ class GraphQLView(View):span.set_tag(ot_tags.PEER_HOST_IPV6, ip)else:continue+ span.set_tag("http.client_ip", ip)+ span.log_kv(+ {"http.client_ip_originated_from": settings.REAL_IP_ENVIRON}+ )breakresponse = self._handle_query(request)