lib/opentelemetry/instrumentation/dalli/patches/server.rb in opentelemetry-instrumentation-dalli-0.22.0 vs lib/opentelemetry/instrumentation/dalli/patches/server.rb in opentelemetry-instrumentation-dalli-0.22.1
- old
+ new
@@ -8,10 +8,10 @@
module Instrumentation
module Dalli
module Patches
# Module to prepend to Dalli::Server (or Dalli::Protocol::Binary in 3.0+) for instrumentation
module Server
- def request(op, *args)
+ def request(op, *args) # rubocop:disable Naming/MethodParameterName
operation = Utils.opname(op, multi?)
attributes = {
'db.system' => 'memcached',
'net.peer.name' => hostname,
'net.peer.port' => port