lib/opentelemetry/instrumentation/ethon/patches/easy.rb in opentelemetry-instrumentation-ethon-0.15.0 vs lib/opentelemetry/instrumentation/ethon/patches/easy.rb in opentelemetry-instrumentation-ethon-0.16.0
- old
+ new
@@ -70,10 +70,10 @@
@otel_span = tracer.start_span(
HTTP_METHODS_TO_SPAN_NAMES[method],
attributes: {
'http.method' => method,
- 'http.url' => url
+ 'http.url' => OpenTelemetry::Common::Utilities.cleanse_url(url)
},
kind: :client
)
@otel_original_headers ||= {}