lib/opentelemetry/instrumentation/excon/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-excon-0.19.3 vs lib/opentelemetry/instrumentation/excon/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-excon-0.19.4

- old
+ new

@@ -99,10 +99,10 @@ 'http.scheme' => datum[:scheme], 'http.target' => datum[:path] } config = Excon::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