go-test-trace icon indicating copy to clipboard operation
go-test-trace copied to clipboard

Create package spans, nest test/subtests.

Open icio opened this issue 1 year ago • 0 comments

When run as go-test-trace ... without -stdin, we now create spans for each package and the test spans have been moved to be children of them. Subtests are similarly attached as children to the parent test. Here's a screenshot of a trace of go-test-trace net/http/cgi rendered in Jaeger, with full stdlib trace JSON attached below:

image

go-test-trace-stdlib.json.gz

icio avatar May 31 '23 13:05 icio