Class: Browserctl::Tracing::NoopBackend

Inherits:
Object
  • Object
show all
Defined in:
lib/browserctl/tracing.rb

Overview

No-op default. Implements the Backend contract above.

Instance Method Summary collapse

Instance Method Details

#end_span(_span, status: :ok, attributes: {}) ⇒ Object

rubocop:disable Lint/UnusedMethodArgument



35
36
37
# File 'lib/browserctl/tracing.rb', line 35

def end_span(_span, status: :ok, attributes: {}) # rubocop:disable Lint/UnusedMethodArgument
  nil
end

#start_span(_name, attributes: {}) ⇒ Object

rubocop:disable Lint/UnusedMethodArgument



31
32
33
# File 'lib/browserctl/tracing.rb', line 31

def start_span(_name, attributes: {}) # rubocop:disable Lint/UnusedMethodArgument
  nil
end