After working with NewRelics support staff, they let me to this post: http://newrelic.github.com/rpm/NewRelic/Agent/Instrumentation/Rack.html.
I then deconstructed this method a bit and came up with the following solution: https://gist.github.com/4076773 On Friday, November 9, 2012 10:56:58 AM UTC-8, Josh Mervine wrote: > > I've set up a Radiant instance using Memcached as the Radiant cache > resource, however, it appears that cache hits aren't being logged to > Radiant. > > Here's an example of the cache implementation: > > # file: :rails_root/config/environments/[RAILS_ENV].rb > require 'dalli' > $cache = Dalli::Client.new(["remotehost.com:11211", "127.0.0.1:11211"], > :compress => true) > config.middleware.use ::Radiant::Cache, :metastore => $cache, > :entitystore => $cache > > When I toss load at the Radiant instance (via httperf) only the cache > misses are registered in NewRelic. > > Anyone have any ideas? > > Thanks! > > PS-- This question is also posted here: > http://stackoverflow.com/questions/13302496/radiant-and-newrelic-with-memcached-doesnt-log-traffic > > > >
