Class: Aws::Telemetry::NoOpSpan
- Defined in:
- lib/aws-sdk-core/telemetry/no_op.rb
Overview
No-op implementation for SpanBase.
Instance Method Summary collapse
- #add_attributes(attributes) ⇒ Object
- #add_event(name, attributes: nil) ⇒ Object
- #finish(end_timestamp: nil) ⇒ Object
- #record_exception(exception, attributes: nil) ⇒ Object
- #set_attribute(key, value) ⇒ Object (also: #[]=)
- #status=(status) ⇒ Object
Instance Method Details
#add_attributes(attributes) ⇒ Object
44 45 46 |
# File 'lib/aws-sdk-core/telemetry/no_op.rb', line 44 def add_attributes(attributes) self end |
#add_event(name, attributes: nil) ⇒ Object
48 49 50 |
# File 'lib/aws-sdk-core/telemetry/no_op.rb', line 48 def add_event(name, attributes: nil) self end |
#finish(end_timestamp: nil) ⇒ Object
54 55 56 |
# File 'lib/aws-sdk-core/telemetry/no_op.rb', line 54 def finish(end_timestamp: nil) self end |
#record_exception(exception, attributes: nil) ⇒ Object
58 |
# File 'lib/aws-sdk-core/telemetry/no_op.rb', line 58 def record_exception(exception, attributes: nil); end |
#set_attribute(key, value) ⇒ Object Also known as: []=
39 40 41 |
# File 'lib/aws-sdk-core/telemetry/no_op.rb', line 39 def set_attribute(key, value) self end |
#status=(status) ⇒ Object
52 |
# File 'lib/aws-sdk-core/telemetry/no_op.rb', line 52 def status=(status); end |