lib/opentelemetry/instrumentation/rack/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-rack-0.23.3 vs lib/opentelemetry/instrumentation/rack/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-rack-0.23.4
- old
+ new
@@ -54,10 +54,10 @@
def initialize(app)
@app = app
@untraced_endpoints = config[:untraced_endpoints]
end
- def call(env) # rubocop:disable Metrics/MethodLength
+ def call(env)
if untraced_request?(env)
OpenTelemetry::Common::Utilities.untraced do
return @app.call(env)
end
end