End completes the span.
()
| 83 | |
| 84 | // End completes the span. |
| 85 | func (s *Span) End() { |
| 86 | s.otelSpan.End() |
| 87 | } |
| 88 | |
| 89 | // AddEvent adds an event with provided name and options. |
| 90 | func (s *Span) AddEvent(name string, attributes ...attribute.KeyValue) { |