module Librato::Rails::Helpers::Controller

Public Instance Methods

inherited(other) click to toggle source
Calls superclass method
# File lib/librato/rails/helpers/controller.rb, line 13
def inherited(other)
  super
  Subscribers.inherit_watches(self.to_s, other.to_s)
end
instrument_action(*actions) click to toggle source

Mark a specific controller action for more detailed instrumenting

# File lib/librato/rails/helpers/controller.rb, line 7
def instrument_action(*actions)
  actions.each do |action|
    Subscribers.watch_controller_action(self.to_s, action)
  end
end