Skip to content

Commit 138de1f

Browse files
committed
Comment
1 parent d56fdc4 commit 138de1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.go

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ func createTracesAndSpans(ctx context.Context, srvName string, tracesProvides *s
101101
caseDurationCounter := createIntCounter(meter, CaseDuration, "Duration of the tests")
102102
caseDurationHistogram := createFloat64Histogram(meter, CaseDurationHist, "Duration of the tests", "s")
103103

104+
// outer span for the whole report
104105
ctx, outerSpan := tracer.Start(ctx, traceNameFlag, trace.WithAttributes(runtimeAttributes...),
105106
trace.WithSpanKind(trace.SpanKindServer))
106107
defer outerSpan.End()

0 commit comments

Comments
 (0)