socialcast/rpm_contrib — pull request #1 by seanwalbran (2012-02-19 18:41:45+00:00)
Title: Update from upstream, plus resque fixes

a) Merge in rpm_contrib changes from upstream, retaining Backgrounded specializations from @wireframe.
b) Fix a namespace clash with the newly added upstream AWS::S3 monitoring
c) Fix resque monitoring to not lose as many metrics by
- running the newrelic worker thread from the resque parent process, vs. children.
- writing the metrics from the forked threads with the standard newrelic (thread-safe, ostensibly) save method, to be processed by the parent's worker thread.

i.e, rather than forking a worker thread once for each forked resque thread, and later calling shutdown on that worker after method execution. In particular, that's not only slower, but shutdown doesn't actually necessarily send the data to newrelic, even with :force_send = > true.