- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for getTraceContext (0.1 sec)
-
src/cmd/go/internal/trace/trace.go
tc, ok := getTraceContext(ctx) if !ok { return ctx } return context.WithValue(ctx, traceKey{}, traceContext{tc.t, tc.t.getNextTID()}) } // Flow marks a flow indicating that the 'to' span depends on the 'from' span. // Flow should be called while the 'to' span is in progress. func Flow(ctx context.Context, from *Span, to *Span) { tc, ok := getTraceContext(ctx) if !ok || from == nil || to == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 4.7K bytes - Viewed (0)