Class: XRay::LambdaStreamer
- Inherits:
-
DefaultStreamer
- Object
- DefaultStreamer
- XRay::LambdaStreamer
- Defined in:
- lib/aws-xray-sdk/lambda/lambda_streamer.rb
Overview
LambdaStreamer extends DefaultStreamer so that subsegments are sent to the XRay endpoint as they are available.
Instance Attribute Summary
Attributes inherited from DefaultStreamer
Instance Method Summary collapse
-
#initialize ⇒ LambdaStreamer
constructor
A new instance of LambdaStreamer.
Methods inherited from DefaultStreamer
#eligible?, #stream_subsegments
Methods included from Logging
Methods included from Streamer
#eligible?, #stream_threshold=, #subsegments_to_stream
Constructor Details
#initialize ⇒ LambdaStreamer
Returns a new instance of LambdaStreamer.
5 6 7 |
# File 'lib/aws-xray-sdk/lambda/lambda_streamer.rb', line 5 def initialize @stream_threshold = 1 #Stream every subsegment as it is available end |