get trace info from context
Some checks failed
build / test (push) Waiting to run
build / lint (push) Successful in 41s
codeql / analyze (go) (push) Failing after 2m5s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2024-07-17 17:38:14 +03:00
parent e887edb475
commit e1f85545d9

View File

@ -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