Skip to content

Add getters for trace / span IDs

Compare
Choose a tag to compare
@paulosman paulosman released this 31 Dec 20:27
7e1a437

Add getter methods to Trace and Span structs.

  • func (t *Span) GetTrace() *Trace
  • func (t *Span) GetSpanID() string
  • func (t *Span) GetParentID() string
  • func (t *Trace) GetTraceID() string
  • func (t *Trace) GetParentID() string