Class: XRay::DummySubsegment
- Inherits:
-
Subsegment
- Object
- Subsegment
- XRay::DummySubsegment
- Includes:
- DummyEntity
- Defined in:
- lib/aws-xray-sdk/model/dummy_entities.rb
Overview
A dummy subsegment will be created when “xray_recorder“ tries to create a subsegment under a not sampled segment. Adding data to a dummy subsegment becomes no-op except for child subsegments. Dummy subsegment will not be sent to the X-Ray daemon by the default emitter. Manually create dummy subsegments is not recommended.
Constant Summary
Constants included from Entity
Entity::HTTP_REQUEST_KEY, Entity::HTTP_RESPONSE_KEY
Instance Attribute Summary
Attributes inherited from Subsegment
Attributes included from Entity
#aws, #cause, #end_time, #error, #exception, #fault, #http_request, #http_response, #name, #namespace, #parent, #sampled, #start_time, #throttle
Instance Method Summary collapse
Methods included from DummyEntity
#add_exception, #annotations, #apply_status_code, #aws=, #merge_http_request, #merge_http_response, #metadata, #sampled, #sampling_rule_name=, #to_h, #to_json
Methods inherited from Subsegment
#add_subsegment, #all_children_count, #close, #initialize, #remove_subsegment, #to_h
Methods included from Entity
#add_exception, #add_subsegment, #annotations, #apply_status_code, #cause_id, #close, #closed?, #id, #merge_http_request, #merge_http_response, #metadata, #remove_subsegment, #subsegments, #to_h, #to_json
Constructor Details
This class inherits a constructor from XRay::Subsegment
Instance Method Details
#sql=(v) ⇒ Object
72 73 74 |
# File 'lib/aws-xray-sdk/model/dummy_entities.rb', line 72 def sql=(v) # no-op end |