lib/sidekiq/tracer/server_middleware.rb in sidekiq-instrumentation-1.2.2 vs lib/sidekiq/tracer/server_middleware.rb in sidekiq-instrumentation-2.0.0.pre1
- old
+ new
@@ -5,10 +5,10 @@
class ServerMiddleware
include Commons
attr_reader :tracer, :active_span, :after_trace
- def initialize(tracer:, active_span:, after_trace:)
+ def initialize(tracer, active_span, after_trace)
@tracer = tracer
@active_span = active_span
@after_trace = after_trace
end