From ruby at monnet-usa.com Sat Dec 19 10:46:49 2009 From: ruby at monnet-usa.com (Philippe Monnet) Date: Sat, 19 Dec 2009 08:46:49 -0700 Subject: Edited some metadata for the Camping topic on Freebase Message-ID: <4B2CF569.20809@monnet-usa.com> I use Freebase in one of my web apps and I noticed that the Camping topic needed a bit of "love" to keep things accurate. I just made the edits at: http://www.freebase.com/edit/topic/guid/9202a8c04000641f8000000004731038 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruby at monnet-usa.com Tue Dec 29 10:10:56 2009 From: ruby at monnet-usa.com (Philippe Monnet) Date: Tue, 29 Dec 2009 08:10:56 -0700 Subject: Is anyone hosting any Camping apps on Heroku? Message-ID: <4B3A1C00.6020500@monnet-usa.com> Over the last couple months ago I opened an account on Heroku and was pretty impressed with the capabilities. In the last couple days I have been trying their various addons such as for example the NewRelic application management features that allow you to report performance metrics on an application. NewRelic currently supports Rails out of the box but they are also working on supporting Rack and Sinatra. Who else is using Heroku with their Camping apps? Could we share discoveries on how to improve Camping support on Heroku? For example I decided to try integrating my Camping demo app with NewRelic by invoking their APIs directly. I managed to get my Camping controller methods to show up on their dashboard. I am now going to try to help provide a plugin so that a Camping app can hook directly to NewRelic. I was thinking of hooking up to the service(*a) method. Has anyone been extending or hooking things on to service(*a)? What are some of the tricks of the trade? Philippe -------------- next part -------------- An HTML attachment was scrubbed... URL: From ruby at monnet-usa.com Wed Dec 30 21:32:35 2009 From: ruby at monnet-usa.com (Philippe Monnet) Date: Wed, 30 Dec 2009 19:32:35 -0700 Subject: Created a small instrumentation NewRelic plugin for Camping controllers Message-ID: <4B3C0D43.8090201@monnet-usa.com> After a bit over a day of both looking at the way NewRelic implemented their plugin for Rack and Sinatra, as well as digging deep in the core Camping code of the service and M methods, I managed to get something working. See http://github.com/techarch/rpm/blob/master/lib/new_relic/agent/instrumentation/camping.rb It took me many tests to understand that the M method actually include some of the Camping modules in the controller classes. I have been reading the entire framework back to back a bunch of times and I keep being amazed at the overall design. There are so many Rubyisms to be learned from the code. Let me know if you end up using the plugin and if there are ways to improve it. If you are using Heroku you should definitely give NewRelic a try since the Bronze edition comes for free. Philippe -------------- next part -------------- An HTML attachment was scrubbed... URL: