lib/instana/instrumentation/net-http.rb in instana-1.12.0 vs lib/instana/instrumentation/net-http.rb in instana-1.13.0
- old
+ new
@@ -30,9 +30,11 @@
kv_payload[:http][:url] = "https://#{@address}:#{@port}#{request.path}"
else
kv_payload[:http][:url] = "http://#{@address}:#{@port}#{request.path}"
end
end
+
+ kv_payload[:http][:url] = ::Instana.secrets.remove_from_query(kv_payload[:http][:url])
# The core call
response = request_without_instana(*args, &block)
kv_payload[:http][:status] = response.code