lib/opentelemetry/instrumentation/sidekiq/patches/launcher.rb in opentelemetry-instrumentation-sidekiq-0.22.0 vs lib/opentelemetry/instrumentation/sidekiq/patches/launcher.rb in opentelemetry-instrumentation-sidekiq-0.22.1
- old
+ new
@@ -10,10 +10,10 @@
module Patches
# The Launcher module contains the instrumentation for the Sidekiq heartbeat
module Launcher
private
- def ❤ # rubocop:disable Naming/MethodName
+ def ❤ # rubocop:disable Naming/MethodName, Naming/AsciiIdentifiers
if instrumentation_config[:trace_launcher_heartbeat]
attributes = {}
attributes['peer.service'] = instrumentation_config[:peer_service] if instrumentation_config[:peer_service]
tracer.in_span('Sidekiq::Launcher#heartbeat', attributes: attributes) { super }
else