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, #checked_calculation, #duration, #exclusive_time_percentage, #expand_min_max_to, #get_apdex, #is_reset?, #merge, #merge!, #merge_attributes, #midpoint, #min_time_less?, #multiply_by, #reset, #should_replace_begin_time?, #should_replace_end_time?, #stack_min_max_from, #standard_deviation, #sum_attributes, #sum_merge!, #summary, #time_percentage, #time_str, #to_s, #total_call_time_per_minute, #update_boundaries, #update_totals

Constructor Details

This class inherits a constructor from NewRelic::StatsBase

Instance Method Details

#record_apdex_fObject



263
264
265
# File 'lib/new_relic/stats.rb', line 263

def record_apdex_f
  @total_exclusive_time += 1
end

#record_apdex_sObject



255
256
257
# File 'lib/new_relic/stats.rb', line 255

def record_apdex_s
  @call_count += 1
end

#record_apdex_tObject



259
260
261
# File 'lib/new_relic/stats.rb', line 259

def record_apdex_t
  @total_call_time += 1
end