package trace
import "gocloud.dev/internal/trace"
Package trace provides support for OpenCensus tracing.
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.23.0
- Published
- May 15, 2021
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 3 seconds ago –
Tools for package owners.