Method: NewRelic::Agent::TransactionEventRecorder#initialize

Defined in:
lib/new_relic/agent/transaction_event_recorder.rb

#initialize(events) ⇒ TransactionEventRecorder

Returns a new instance of TransactionEventRecorder.

[View source]

18
19
20
21
# File 'lib/new_relic/agent/transaction_event_recorder.rb', line 18

def initialize(events)
  @transaction_event_aggregator = NewRelic::Agent::TransactionEventAggregator.new(events)
  @synthetics_event_aggregator = NewRelic::Agent::SyntheticsEventAggregator.new(events)
end