Method: NewRelic::Agent::PrioritySampledBuffer#sample_rate_lifetime
- Defined in:
- lib/new_relic/agent/priority_sampled_buffer.rb
#sample_rate_lifetime ⇒ Object
69 70 71 |
# File 'lib/new_relic/agent/priority_sampled_buffer.rb', line 69 def sample_rate_lifetime @captured_lifetime > 0 ? (@captured_lifetime.to_f / @seen_lifetime) : 0.0 end |