class NewRelic::Agent::Transaction::SlowestSampleBuffer
Constants
- CAPACITY
Public Instance Methods
Source
# File lib/new_relic/agent/transaction/slowest_sample_buffer.rb, line 17 def allow_sample?(sample) sample.threshold && sample.duration >= sample.threshold end
Source
# File lib/new_relic/agent/transaction/slowest_sample_buffer.rb, line 13 def capacity CAPACITY end