lib/instana/instrumentation/sidekiq-worker.rb in instana-1.193.2 vs lib/instana/instrumentation/sidekiq-worker.rb in instana-1.193.3.pre1
- old
+ new
@@ -41,14 +41,5 @@
::Instana.tracer.log_end(:'sidekiq-worker', {}) if ::Instana.tracer.tracing?
end
end
end
end
-
-if defined?(::Sidekiq) && ::Instana.config[:'sidekiq-worker'][:enabled]
- ::Sidekiq.configure_server do |cfg|
- cfg.server_middleware do |chain|
- ::Instana.logger.debug "Instrumenting Sidekiq worker"
- chain.add ::Instana::Instrumentation::SidekiqWorker
- end
- end
-end