Method: NewRelic::Agent::Transaction.apdex_bucket
- Defined in:
- lib/new_relic/agent/transaction.rb
permalink .apdex_bucket(duration, failed, apdex_t) ⇒ Object
162 163 164 165 166 167 168 169 170 171 172 173 |
# File 'lib/new_relic/agent/transaction.rb', line 162 def self.apdex_bucket(duration, failed, apdex_t) case when failed :apdex_f when duration <= apdex_t :apdex_s when duration <= apdex_t * 4 :apdex_t else :apdex_f end end |