(name string, value any)
| 47 | } |
| 48 | |
| 49 | func (s *Span) SetTag(name string, value any) { |
| 50 | if s.opentracingSpan != nil { |
| 51 | s.opentracingSpan.SetTag(name, value) |
| 52 | } |
| 53 | if s.otelSpan != nil { |
| 54 | s.otelSpan.SetAttributes(KeyValueToOTelAttribute(name, value)) |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | func (s *Span) SetError() { |
| 59 | if s.otelSpan != nil { |
no test coverage detected