lib/opentelemetry/instrumentation/rack/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-rack-0.17.0 vs lib/opentelemetry/instrumentation/rack/middlewares/tracer_middleware.rb in opentelemetry-instrumentation-rack-0.18.0

- old
+ new

@@ -157,10 +157,9 @@ span.set_attribute('http.status_code', status) # NOTE: if data is available, it would be good to do this: # set_attribute('http.route', ... # e.g., "/users/:userID? - span.set_attribute('http.status_text', ::Rack::Utils::HTTP_STATUS_CODES[status]) allowed_response_headers(headers).each { |k, v| span.set_attribute(k, v) } end def allowed_request_headers(env)