lib/opentelemetry/instrumentation/que/middlewares/server_middleware.rb in opentelemetry-instrumentation-que-0.5.1 vs lib/opentelemetry/instrumentation/que/middlewares/server_middleware.rb in opentelemetry-instrumentation-que-0.6.0

- old
+ new

@@ -8,10 +8,10 @@ module Instrumentation module Que module Middlewares # Server middleware to trace Que jobs class ServerMiddleware - def self.call(job, &block) # rubocop:disable Metrics/MethodLength + def self.call(job, &block) job_class = job_class(job) span_name = "#{job_class} process" attributes = attributes_before_job_completion(job, job_class) extracted_context = extract_context_from_tags(job.que_attrs[:data][:tags] || [])