You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ddtrace/tracer/span.go
+15-9
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,6 @@ type span struct {
91
91
92
92
pprofCtxActive context.Context`msg:"-"`// contains pprof.WithLabel labels to tell the profiler more about this span
93
93
pprofCtxRestore context.Context`msg:"-"`// contains pprof.WithLabel labels of the parent span (if any) that need to be restored when this span finishes
94
-
finishGuard atomic.Uint32`msg:"-"`// finishGuard value to detect if Span.Finish has been called to only finish the span once
95
94
96
95
taskEndfunc() // ends execution tracer (runtime/trace) task, if started
97
96
}
@@ -485,6 +484,15 @@ func (s *span) setMetric(key string, v float64) {
485
484
486
485
// AddSpanLink appends the given link to the span's span links.
0 commit comments