lib/opentelemetry/instrumentation/rack/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-rack-0.6.0 vs lib/opentelemetry/instrumentation/rack/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-rack-0.7.0
- old
+ new
@@ -79,10 +79,10 @@
request_start_time = OpenTelemetry::Instrumentation::Rack::Util::QueueTime.get_request_start(env)
return unless config[:record_frontend_span] && !request_start_time.nil?
span = tracer.start_span('http_server.proxy',
- with_parent_context: extracted_context,
+ with_parent: extracted_context,
attributes: {
'start_time' => request_start_time.to_f
},
kind: :server)