Module: OboeMethodProfiling

Defined in:
lib/oboe/method_profiling.rb

Overview

Provides the methods necessary for method profiling. Profiling results are sent to the TraceView dashboard.

Example usage: class MyApp

include OboeMethodProfiling

def process_request()
  # The hard work
end

# call syntax: profile_method <method>, <profile_name>
profile_method :process_request, 'request_processor'

end

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



20
21
22
# File 'lib/oboe/method_profiling.rb', line 20

def self.included(klass)
  klass.extend ClassMethods
end