gocloud.dev: gocloud.dev/internal/trace Index | Files

package trace

import "gocloud.dev/internal/trace"

Package trace provides support for OpenCensus tracing.

Index

Package Files

trace.go

func EndSpan Uses

func EndSpan(ctx context.Context, err error)

EndSpan ends a span with the given error.

func StartSpan Uses

func StartSpan(ctx context.Context, name string) context.Context

StartSpan adds a span to the trace with the given name.

Package trace imports 3 packages (graph). Updated 2019-02-14. Refresh now. Tools for package owners.