get trace info from context
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
e887edb475
commit
e1f85545d9
@ -137,6 +137,10 @@ func (os *otSpan) SpanID() string {
|
|||||||
return os.spanID
|
return os.spanID
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (os *otSpan) ParentID() string {
|
||||||
|
return os.parentID
|
||||||
|
}
|
||||||
|
|
||||||
func (os *otSpan) SetStatus(st tracer.SpanStatus, msg string) {
|
func (os *otSpan) SetStatus(st tracer.SpanStatus, msg string) {
|
||||||
os.status = st
|
os.status = st
|
||||||
os.statusMsg = msg
|
os.statusMsg = msg
|
||||||
|
Loading…
Reference in New Issue
Block a user