Skip to content

Instantly share code, notes, and snippets.

@jamesgolick
Created October 1, 2010 18:24
Show Gist options
  • Select an option

  • Save jamesgolick/606628 to your computer and use it in GitHub Desktop.

Select an option

Save jamesgolick/606628 to your computer and use it in GitHub Desktop.
diff --git a/lib/new_relic/agent/instrumentation/memcache.rb b/lib/new_relic/agent/instrumentation/memcache.rb
index 4bef03e..a741e13 100644
--- a/lib/new_relic/agent/instrumentation/memcache.rb
+++ b/lib/new_relic/agent/instrumentation/memcache.rb
@@ -37,6 +37,7 @@ unless NewRelic::Control.instance['disable_memcache_instrumentation']
instrument_method(::MemCache, method_name) if defined? ::MemCache
instrument_method(::Memcached, method_name) if defined? ::Memcached
instrument_method(::Dalli::Client, method_name) if defined? ::Dalli::Client
+ instrument_method(::Spymemcached, method_name) if defined? ::Spymemcached
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment