Class: Aws::Telemetry::NoOpTracer
- Inherits:
-
TracerBase
- Object
- TracerBase
- Aws::Telemetry::NoOpTracer
- Defined in:
- gems/aws-sdk-core/lib/aws-sdk-core/telemetry/no_op.rb
Overview
No-op implementation for TracerBase.
Instance Method Summary collapse
-
#current_span ⇒ Object
-
#in_span(name, attributes: nil, kind: nil) {|NoOpSpan.new| ... } ⇒ Object
-
#start_span(name, with_parent: nil, attributes: nil, kind: nil) ⇒ Object
Instance Method Details
#current_span ⇒ Object
32 33 34 |
# File 'gems/aws-sdk-core/lib/aws-sdk-core/telemetry/no_op.rb', line 32 def current_span NoOpSpan.new end |
#in_span(name, attributes: nil, kind: nil) {|NoOpSpan.new| ... } ⇒ Object
28 29 30 |
# File 'gems/aws-sdk-core/lib/aws-sdk-core/telemetry/no_op.rb', line 28 def in_span(name, attributes: nil, kind: nil) yield NoOpSpan.new end |
#start_span(name, with_parent: nil, attributes: nil, kind: nil) ⇒ Object
24 25 26 |
# File 'gems/aws-sdk-core/lib/aws-sdk-core/telemetry/no_op.rb', line 24 def start_span(name, with_parent: nil, attributes: nil, kind: nil) NoOpSpan.new end |