Method: NewRelic::Agent::Transaction#priority
- Defined in:
- lib/new_relic/agent/transaction.rb
permalink #priority ⇒ Object
309 310 311 |
# File 'lib/new_relic/agent/transaction.rb', line 309 def priority @priority ||= (sampled? ? rand + 1.0 : rand).round(NewRelic::PRIORITY_PRECISION) end |