lib/opentelemetry/instrumentation/sinatra/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-sinatra-0.13.0 vs lib/opentelemetry/instrumentation/sinatra/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-sinatra-0.14.0

- old
+ new

@@ -29,10 +29,13 @@ private attr_reader :app def parent_context(env) - OpenTelemetry.propagation.http.extract(env) + OpenTelemetry.propagation.extract( + env, + getter: OpenTelemetry::Context::Propagation.rack_env_getter + ) end def tracer OpenTelemetry::Instrumentation::Sinatra::Instrumentation.instance.tracer end