AddEvent adds an event with provided name and options.
(name string, attributes ...attribute.KeyValue)
| 88 | |
| 89 | // AddEvent adds an event with provided name and options. |
| 90 | func (s *Span) AddEvent(name string, attributes ...attribute.KeyValue) { |
| 91 | s.otelSpan.AddEvent(name, trace.WithAttributes(attributes...)) |
| 92 | } |
| 93 | |
| 94 | // RecordError will record err as an exception span event for this span |
| 95 | func (s *Span) RecordError(err error, options ...trace.EventOption) { |
no outgoing calls
no test coverage detected