module OboeMethodProfiling

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

Public Class Methods

included(klass) click to toggle source
# File lib/oboe/method_profiling.rb, line 20
def self.included(klass)
  klass.extend ClassMethods
end