lib/new_relic/agent/instrumentation/memcache/dalli.rb in newrelic_rpm-8.2.0 vs lib/new_relic/agent/instrumentation/memcache/dalli.rb in newrelic_rpm-8.3.0
- old
+ new
@@ -7,10 +7,11 @@
module Agent
module Instrumentation
module Memcache
module Dalli
extend Helper
+
module_function
def instrument!
if supports_datastore_instances?
instrument_methods(::Dalli::Client, dalli_methods)
@@ -67,10 +68,11 @@
end
module DalliCAS
extend Dalli
extend Helper
+
module_function
def should_instrument?
supported_methods_for(::Dalli::Client, dalli_cas_methods).any?
end
@@ -82,6 +84,5 @@
end
end
end
end
end
-