Skip to content

Commit

Permalink
Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanrolds committed Dec 19, 2024
1 parent d56fdc4 commit 138de1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ func createTracesAndSpans(ctx context.Context, srvName string, tracesProvides *s
caseDurationCounter := createIntCounter(meter, CaseDuration, "Duration of the tests")
caseDurationHistogram := createFloat64Histogram(meter, CaseDurationHist, "Duration of the tests", "s")

// outer span for the whole report
ctx, outerSpan := tracer.Start(ctx, traceNameFlag, trace.WithAttributes(runtimeAttributes...),
trace.WithSpanKind(trace.SpanKindServer))
defer outerSpan.End()
Expand Down

0 comments on commit 138de1f

Please sign in to comment.