diff --git a/instrumentation/active_job/lib/opentelemetry/instrumentation/active_job/subscriber.rb b/instrumentation/active_job/lib/opentelemetry/instrumentation/active_job/subscriber.rb index 69bef5e11..6536b9bc5 100644 --- a/instrumentation/active_job/lib/opentelemetry/instrumentation/active_job/subscriber.rb +++ b/instrumentation/active_job/lib/opentelemetry/instrumentation/active_job/subscriber.rb @@ -86,7 +86,7 @@ def on_start(name, _id, payload, subscriber) end end - class GenericSubscriber < ::ActiveSupport::Subscriber + class Subscriber < ::ActiveSupport::Subscriber TEST_ADAPTERS = %w[async inline] EVENT_HANDLERS = { 'enqueue.active_job' => EnqueueSubscriber.new,