class Aws::Telemetry::OTelSpan

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)
  @span.add_event(name, attributes: attributes)
end