Class: Jekyll::LinkDecorator::Instrumentation::NoopTracer

Inherits:
Object
  • Object
show all
Defined in:
lib/jekyll-link-decorator/instrumentation.rb

Overview

No-op tracer used when opentelemetry-api is not loaded.

Instance Method Summary collapse

Instance Method Details

#in_span(_name, **_opts) {|NoopSpan.new| ... } ⇒ Object

Yields:



199
200
201
# File 'lib/jekyll-link-decorator/instrumentation.rb', line 199

def in_span(_name, **_opts)
  yield NoopSpan.new
end