Sha256: 64f1949e81b7d88540b251d07063c5b08406560976a735c73491be1a13aa8f36
Contents?: true
Size: 1.54 KB
Versions: 32
Compression:
Stored size: 1.54 KB
Contents
== Problem All tests green, CC happy, Customers are creaming their pants reading their Cucumber scenarios. App is in production on bitch'n servers. Top of the world right? == Questions Is the app being used ? How many customers hit it in the past week ? What are the most/least used features ? Why? Are my cool ajax callbacks silently crapping out? Are there any perf issues ? ... ? == Got Mole ? (http://github.com/derailed/rackamole) The MOle is a rack component that traps your application requests and captures the associated context information. By intercepting the request, this rack app can gather calling context, alert you of latency issues on certain operation and also trap any exceptions that may have emerged in the request cycle. The MOle is currently able to either store this information in your log files or in a mongo instance for later processing. == Options <tt>:app_name</tt> - The name of the application [Default: Moled App] <tt>:environment</tt> - The environment for the application ie :environment => RAILS_ENV <tt>:moleable</tt> - Enable/Disable the MOle [Default:true] <tt>:store </tt> - The storage instance ie log file or database [Default:stdout] <tt>:user_key</tt> - If session is enable, the session key for the user name or user_id. ie :user_key => :user_name == Rails require 'rackamole' config.middleware.use Rack::Mole, { :app_name => "My Cool App", :user_key => :user_name } == Sinatra require 'rackamole' configure do use Rack::Mole, { :app_name => "My Sinatra App", :user_key => :user_name } end
Version data entries
32 entries across 32 versions & 1 rubygems