You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-11-25 22:41:46 +02:00
add support for Link. (#80)
* add support for Link. * add AddLink to mockSpan * update api documentation.
This commit is contained in:
@@ -128,3 +128,9 @@ func (sp *span) SetName(name string) {
|
||||
String: name,
|
||||
})
|
||||
}
|
||||
|
||||
func (sp *span) AddLink(link apitrace.Link) {
|
||||
}
|
||||
|
||||
func (sp *span) Link(sc core.SpanContext, attrs ...core.KeyValue) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user