Class: ActiveMatrix::Telemetry::NullTracer

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/active_matrix/telemetry.rb

Overview

Null tracer for when OTel is not available

Instance Method Summary collapse

Instance Method Details

#in_span(_name, **_opts) {|NullSpan.instance| ... } ⇒ Object

Yields:



119
120
121
# File 'lib/active_matrix/telemetry.rb', line 119

def in_span(_name, **_opts)
  yield NullSpan.instance
end