Class: NewRelic::ApdexStats

Inherits:
StatsBase show all
Defined in:
lib/new_relic/stats.rb

Instance Attribute Summary

Attributes inherited from StatsBase

#call_count, #max_call_time, #min_call_time, #sum_of_squares, #total_call_time, #total_exclusive_time

Instance Method Summary collapse

Methods inherited from StatsBase

#begin_time, #begin_time=, #end_time, #end_time=, #freeze, #initialize, #to_json

Methods included from Stats

#absent?, #apdex_score, #as_percentage, #as_percentage_of, #average_call_time, #average_exclusive_time, #calls_per_minute, #duration, #exclusive_time_percentage, #fraction_of, #get_apdex, #is_reset?, #merge, #merge!, #multiply_by, #reset, #round!, #split, #standard_deviation, #sum_merge!, #summary, #time_percentage, #time_str, #to_s, #total_call_time_per_minute

Constructor Details

This class inherits a constructor from NewRelic::StatsBase

Instance Method Details

#record_apdex_fObject



306
307
308
# File 'lib/new_relic/stats.rb', line 306

def record_apdex_f
  @total_exclusive_time += 1
end

#record_apdex_sObject



298
299
300
# File 'lib/new_relic/stats.rb', line 298

def record_apdex_s
  @call_count += 1
end

#record_apdex_tObject



302
303
304
# File 'lib/new_relic/stats.rb', line 302

def record_apdex_t
  @total_call_time += 1
end