lib/opentelemetry/instrumentation/ethon/patches/easy.rb in opentelemetry-instrumentation-ethon-0.7.0 vs lib/opentelemetry/instrumentation/ethon/patches/easy.rb in opentelemetry-instrumentation-ethon-0.8.0

- old
+ new

@@ -76,10 +76,10 @@ }, kind: :client ) @otel_original_headers ||= {} - tracer.with_span(@otel_span) do + OpenTelemetry::Trace.with_span(@otel_span) do OpenTelemetry.propagation.http.inject(@otel_original_headers) end self.headers = @otel_original_headers end