Skip to content

Commit

Permalink
Add AddLink method to DummySpan (#192)
Browse files Browse the repository at this point in the history
* Add AddLink method to DummySpan
  • Loading branch information
vikmik authored Apr 22, 2024
1 parent 20e430d commit 249e239
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tracing/dummy_span.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,7 @@ func (s *DummySpan) SetAttributes(kv ...attribute.KeyValue) {
func (s *DummySpan) TracerProvider() trace.TracerProvider {
return s.parentSpan.TracerProvider()
}

func (s *DummySpan) AddLink(trace.Link) {
// no-op
}

0 comments on commit 249e239

Please sign in to comment.