lib/opentelemetry/instrumentation/sinatra/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-sinatra-0.19.2 vs lib/opentelemetry/instrumentation/sinatra/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-sinatra-0.19.3
- old
+ new
@@ -15,10 +15,10 @@
end
def call(env)
extracted_context = OpenTelemetry.propagation.extract(
env,
- getter: OpenTelemetry::Context::Propagation.rack_env_getter
+ getter: OpenTelemetry::Common::Propagation.rack_env_getter
)
OpenTelemetry::Context.with_current(extracted_context) do
tracer.in_span(
env['PATH_INFO'],
attributes: { 'http.method' => env['REQUEST_METHOD'],