Class: BetterAuth::Instrumentation::NoopTracer
- Inherits:
-
Object
- Object
- BetterAuth::Instrumentation::NoopTracer
- Defined in:
- lib/better_auth/instrumentation.rb
Instance Method Summary collapse
Instance Method Details
#start_active_span(_name, attributes: {}, &block) ⇒ Object
38 39 40 41 42 43 44 45 |
# File 'lib/better_auth/instrumentation.rb', line 38 def start_active_span(_name, attributes: {}, &block) span = NoopSpan.new return span unless block block.call(span) ensure span&.end end |