class Aws::Telemetry::SpanBase

Base for ‘Span` classes.

def add_attributes(attributes)

Returns:
  • (self) - returns itself

Parameters:
  • Hash{String (Hash{String => String, Numeric, Boolean, Array) -- => String, Numeric, Boolean, Array
def add_attributes(attributes)
  raise NotImplementedError
end

def add_event(name, attributes: nil)

Returns:

  • (self) - returns itself

Parameters:
  • Hash{String (Hash{String => String, Numeric, Boolean, Array) -- => String, Numeric, Boolean, Array
  • name (String) -- Name of the event
def add_event(name, attributes: nil)
  raise NotImplementedError
end

def finish(end_timestamp: nil)

Returns:

  • (self) - returns itself

Parameters:
  • end_timestamp (Time) -- End timestamp for the span.
def finish(end_timestamp: nil)
  raise NotImplementedError
end

def record_exception(exception, attributes: nil)

Returns:
  • (void) -

Parameters:
  • Hash{String (Hash{String => String, Numeric, Boolean, Array) -- => String, Numeric, Boolean, Array
  • exception (Exception) -- The exception to be recorded
def record_exception(exception, attributes: nil)
  raise NotImplementedError
end

def set_attribute(key, value)

Returns:

  • (self) - returns itself

Parameters:
  • value (String, Boolean, Numeric, Array) --
  • key (String) --
def set_attribute(key, value)
  raise NotImplementedError
end

def status=(status)

Returns:
  • (void) -

Parameters:
  • status (Aws::Telemetry::SpanStatus) -- The new status, which
def status=(status)
  raise NotImplementedError
end