Class: Couchbase::Tracing::RequestSpan

Inherits:
Object
  • Object
show all
Defined in:
lib/couchbase/tracing/request_span.rb,
/home/runner/work/couchbase-ruby-client/couchbase-ruby-client/lib/couchbase/tracing/request_span.rb

Overview

Stability:

  • Volatile: This API is subject to change at any time.

Direct Known Subclasses

NoopSpan, ThresholdLoggingSpan

Instance Method Summary collapse

Instance Method Details

#finish(end_timestamp: nil) ⇒ Object

Raises:

  • (NotImplementedError)

Stability:

  • Volatile: This API is subject to change at any time.



29
30
31
# File 'lib/couchbase/tracing/request_span.rb', line 29

def finish(end_timestamp: nil)
  raise NotImplementedError, "The RequestSpan does not implement #finish"
end

#set_attribute(key, value) ⇒ Object

Raises:

  • (NotImplementedError)

Stability:

  • Volatile: This API is subject to change at any time.



21
22
23
# File 'lib/couchbase/tracing/request_span.rb', line 21

def set_attribute(key, value)
  raise NotImplementedError, "The RequestSpan does not implement #set_attribute"
end

#status=(status_code) ⇒ Object

Raises:

  • (NotImplementedError)

Stability:

  • Volatile: This API is subject to change at any time.



25
26
27
# File 'lib/couchbase/tracing/request_span.rb', line 25

def status=(status_code)
  raise NotImplementedError, "The RequestSpan does not implement #status="
end