Module: XRay::Streamer

Included in:
DefaultStreamer
Defined in:
lib/aws-xray-sdk/streaming/streamer.rb

Overview

The interface used by the X-Ray recoder to get eligible subsegments to be streamed out from a given segment.

Instance Method Summary collapse

Instance Method Details

#eligible?(segment:) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/aws-xray-sdk/streaming/streamer.rb', line 5

def eligible?(segment:)
  raise 'Not implemented'
end

#stream_threshold=(v) ⇒ Object



13
14
15
# File 'lib/aws-xray-sdk/streaming/streamer.rb', line 13

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

#subsegments_to_stream(segment:, emitter:, force: false) ⇒ Object



9
10
11
# File 'lib/aws-xray-sdk/streaming/streamer.rb', line 9

def subsegments_to_stream(segment:, emitter:, force: false)
  raise 'Not implemented'
end