lib/opentelemetry/instrumentation/ethon/patches/easy.rb in opentelemetry-instrumentation-ethon-0.19.3 vs lib/opentelemetry/instrumentation/ethon/patches/easy.rb in opentelemetry-instrumentation-ethon-0.19.4
- old
+ new
@@ -87,10 +87,10 @@
'http.method' => method,
'http.url' => OpenTelemetry::Common::Utilities.cleanse_url(url)
}
config = Ethon::Instrumentation.instance.config
instrumentation_attrs['peer.service'] = config[:peer_service] if config[:peer_service]
- instrumentation_attrs.merge(
+ instrumentation_attrs.merge!(
OpenTelemetry::Common::HTTP::ClientContext.attributes
)
end
def tracer