class NewRelic::Agent::Transaction::SlowestSampleBuffer

Constants

CAPACITY

Public Instance Methods

allow_sample?(sample) click to toggle source
# File lib/new_relic/agent/transaction/slowest_sample_buffer.rb, line 17
def allow_sample?(sample)
  sample.threshold && sample.duration >= sample.threshold
end
capacity() click to toggle source
# File lib/new_relic/agent/transaction/slowest_sample_buffer.rb, line 13
def capacity
  CAPACITY
end