package trace
import "cloud.google.com/go/internal/trace"
Index ¶
- func EndSpan(ctx context.Context, err error)
- func StartSpan(ctx context.Context, name string) context.Context
Functions ¶
func EndSpan ¶
EndSpan ends a span with the given error.
func StartSpan ¶
StartSpan adds a span to the trace with the given name.
Source Files ¶
trace.go
- Version
- v0.36.0
- Published
- Feb 6, 2019
- Platform
- darwin/amd64
- Imports
- 5 packages
- Last checked
- 1 hour ago –
Tools for package owners.