Class: Jekyll::Minify::Instrumentation::NoopTracer
- Inherits:
-
Object
- Object
- Jekyll::Minify::Instrumentation::NoopTracer
- Defined in:
- lib/jekyll-minify/instrumentation.rb
Overview
No-op tracer used when opentelemetry-api is not loaded.
Instance Method Summary collapse
-
#in_span(_name, **_opts) {|span| ... } ⇒ Object
Yields a NoopSpan and returns the block's value.
Instance Method Details
#in_span(_name, **_opts) {|span| ... } ⇒ Object
Yields a NoopSpan and returns the block's value.
263 264 265 |
# File 'lib/jekyll-minify/instrumentation.rb', line 263 def in_span(_name, **_opts) yield NoopSpan.new end |