package trace

Import Path
	cloud.google.com/go/internal/trace (on go.dev)

Dependency Relation
	imports 6 packages, and imported by one package

Involved Source Files trace.go
Package-Level Functions (total 5, in which 3 are exported)
EndSpan ends a span with the given error.
StartSpan adds a span to the trace with the given name.
TODO: (odeke-em): perhaps just pass around spans due to the cost incurred from using trace.FromContext(ctx) yet we could avoid throwing away the work done by ctx, span := trace.StartSpan.