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

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

Instance Method Summary collapse

Instance Method Details

#daemon_config=(v) ⇒ Object



18
19
20
# File 'lib/aws-xray-sdk/emitter/emitter.rb', line 18

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

#send_entity(entity:) ⇒ Object

Parameters:

  • entity (Entity)

    Entity to send.



14
15
16
# File 'lib/aws-xray-sdk/emitter/emitter.rb', line 14

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