class Aws::Telemetry::NoOpTracer

No-op implementation for {TracerBase}.

Public Instance Methods

current_span() click to toggle source
# File lib/aws-sdk-core/telemetry/no_op.rb, line 32
def current_span
  NoOpSpan.new
end
in_span(name, attributes: nil, kind: nil) { |no_op_span| ... } click to toggle source
# File 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) click to toggle source
# File lib/aws-sdk-core/telemetry/no_op.rb, line 24
def start_span(name, with_parent: nil, attributes: nil, kind: nil)
  NoOpSpan.new
end