class NewRelic::Agent::ErrorEventAggregator
Public Instance Methods
append_event(noticed_error, transaction_payload = nil)
click to toggle source
# File lib/new_relic/agent/error_event_aggregator.rb, line 16 def append_event noticed_error, transaction_payload = nil return unless enabled? @lock.synchronize do @buffer.append do create_event(noticed_error, transaction_payload) end notify_if_full end end
Private Instance Methods
create_event(noticed_error, transaction_payload)
click to toggle source
# File lib/new_relic/agent/error_event_aggregator.rb, line 29 def create_event noticed_error, transaction_payload TransactionErrorPrimitive.create noticed_error, transaction_payload end