module TraceD::InstanceMethods

Public Instance Methods

default_count_stat_name(stat_name) click to toggle source
# File lib/traced.rb, line 21
def default_count_stat_name(stat_name)
  "#{stat_name}.count"
end
default_time_stat_name(method) click to toggle source
# File lib/traced.rb, line 16
def default_time_stat_name(method)
  my_name = self.class.name == "Class" ? self.name : self.class.name
  "method_tracer.#{my_name}.#{method}"
end
traced_method_name(method) click to toggle source
# File lib/traced.rb, line 12
def traced_method_name(method)
  "_statsd_traced_#{method}"
end