You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-29 23:07:45 +02:00
add support for Link. (#80)
* add support for Link. * add AddLink to mockSpan * update api documentation.
This commit is contained in:
@@ -78,3 +78,11 @@ func (NoopSpan) AddEvent(ctx context.Context, msg string, attrs ...core.KeyValue
|
||||
// SetName does nothing.
|
||||
func (NoopSpan) SetName(name string) {
|
||||
}
|
||||
|
||||
// AddLink does nothing.
|
||||
func (NoopSpan) AddLink(link Link) {
|
||||
}
|
||||
|
||||
// Link does nothing.
|
||||
func (NoopSpan) Link(sc core.SpanContext, attrs ...core.KeyValue) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user