Class: A2A::Monitoring::DistributedTracing::NoOpSpan

Inherits:
Object
  • Object
show all
Defined in:
lib/a2a/monitoring/distributed_tracing.rb

Overview

No-op span for when tracing is disabled

Instance Method Summary collapse

Instance Method Details

#add_event(name, **options) ⇒ Object



387
# File 'lib/a2a/monitoring/distributed_tracing.rb', line 387

def add_event(name, **options); end

#finishObject



390
# File 'lib/a2a/monitoring/distributed_tracing.rb', line 390

def finish; end

#record_exception(exception) ⇒ Object



388
# File 'lib/a2a/monitoring/distributed_tracing.rb', line 388

def record_exception(exception); end

#set_attribute(key, value) ⇒ Object



385
# File 'lib/a2a/monitoring/distributed_tracing.rb', line 385

def set_attribute(key, value); end

#set_attributes(**attributes) ⇒ Object



386
# File 'lib/a2a/monitoring/distributed_tracing.rb', line 386

def set_attributes(**attributes); end

#set_status(code, **options) ⇒ Object



389
# File 'lib/a2a/monitoring/distributed_tracing.rb', line 389

def set_status(code, **options); end

#trace_contextObject



392
393
394
# File 'lib/a2a/monitoring/distributed_tracing.rb', line 392

def trace_context
  nil
end