Class: AbstractAnalyzer::Middleware::Rails::Dash::Analyzer
- Inherits:
-
DashAnalyzer::Base
- Object
- DashAnalyzer::Base
- AbstractAnalyzer::Middleware::Rails::Dash::Analyzer
- Defined in:
- lib/middleware/rails/dash.rb
Overview
This is where we grab the analytics
Instance Attribute Summary
Attributes inherited from DashAnalyzer::Base
Instance Method Summary collapse
-
#initialize ⇒ Analyzer
constructor
Fiveruns::Dash.register_recipe :actionpack, :url => ‘example.org’ do |recipe| Fiveruns::Dash.logger.info ‘REGISTERING ACTIONPACK RECIPE’ recipe.time :response_time, :method => ‘AbstractController::Base#process_action’, :mark => true end.
Methods inherited from DashAnalyzer::Base
Constructor Details
#initialize ⇒ Analyzer
Fiveruns::Dash.register_recipe :actionpack, :url => ‘example.org’ do |recipe|
Fiveruns::Dash.logger.info 'REGISTERING ACTIONPACK RECIPE'
recipe.time :response_time, :method => 'AbstractController::Base#process_action', :mark => true
end
15 16 17 18 19 20 21 22 |
# File 'lib/middleware/rails/dash.rb', line 15 def initialize(*) # Fiveruns::Dash::Rails.load_recipes #@recipes = [{:name => :actionpack, :url => 'http://example.org'}] @recipes = [{:name => :ruby, :url => 'http://dash.fiveruns.com'}, {:name => :rails, :url => 'http://dash.fiveruns.com'}] super end |