Method: NewRelic::Agent::ErrorTraceAggregator#initialize
- Defined in:
- lib/new_relic/agent/error_trace_aggregator.rb
#initialize(capacity) ⇒ ErrorTraceAggregator
Returns a new instance of ErrorTraceAggregator.
9 10 11 12 13 14 |
# File 'lib/new_relic/agent/error_trace_aggregator.rb', line 9 def initialize(capacity) @capacity = capacity @lock = Mutex.new @errors = [] register_config_callbacks end |