Module: XRay::Emitter

Included in:
DefaultEmitter
Defined in:
lib/aws-xray-sdk/emitter/emitter.rb

Overview

The emitter interface the X-Ray recorder uses to send segments/subsegments to the X-Ray daemon over UDP.

Constant Summary collapse

DAEMON_ADDRESS_KEY =
'AWS_XRAY_DAEMON_ADDRESS'.freeze
@@protocol_header =
{
  format:   'json',
  version:  1
}.to_json
@@protocol_delimiter =
"\n"

Instance Method Summary collapse

Instance Method Details

#daemon_address=(v) ⇒ Object



20
21
22
# File 'lib/aws-xray-sdk/emitter/emitter.rb', line 20

def daemon_address=(v)
  raise 'Not implemented'
end

#send_entity(entity:) ⇒ Object

Parameters:

  • entity (Entity)

    Entity to send.



16
17
18
# File 'lib/aws-xray-sdk/emitter/emitter.rb', line 16

def send_entity(entity:)
  raise 'Not implemented'
end