tools: Index | Files

package trace

import ""

Package trace adds support for telemetry tracing.


Package Files


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.