tools: golang.org/x/tools/internal/telemetry/trace Index | Files

package trace

import "golang.org/x/tools/internal/telemetry/trace"

Package trace adds support for telemetry tracing.

Index

Package Files

trace.go

func Detach Uses

func Detach(ctx context.Context) context.Context

Detach returns a context without an associated span. This allows the creation of spans that are not children of the current span.

func StartSpan Uses

func StartSpan(ctx context.Context, name string, tags ...telemetry.Tag) (context.Context, func())

Package trace imports 5 packages (graph) and is imported by 15 packages. Updated 2019-11-15. Refresh now. Tools for package owners.