# File lib/new_relic/agent/transaction/synthetics_sample_buffer.rb, line 19 def truncate_samples @samples.slice!(max_capacity..-1) end