Sha256: 72f685fe7cdfeb306a403047134e7663c8e984d56db151f509667d652b01c953
Contents?: true
Size: 591 Bytes
Versions: 3
Compression:
Stored size: 591 Bytes
Contents
# encoding: utf-8 module OneApm module Agent class CrossAppSamplesSender # this class should be abandoned def initialize(events, agent) # @agent = agent # events.subscribe(:cross_sample_buffer_added, &method(:send_sample)) end def send_sample(sample) # OneApm::Manager.logger.debug "Send Cross App samples..." # @agent.harvest_lock.synchronize do # @agent.service.transaction_sample_data([sample]) # end # OneApm::Manager.logger.debug "Send Cross App samples successful." end end end end
Version data entries
3 entries across 3 versions & 1 rubygems