tracing

package
v0.40.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Tracer func(ctx context.Context) opentracing.Tracer

Called throughout dolt to get the tracer. Default implementation returns opentracing.GlobalTracer(), but another implementation could be installed to return a context-specific tracer.

Functions

func StartSpan

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

Start a new span, named `name`, as a child of the current span associated with `ctx`. Starts a root span if there is no Span associated with `ctx`. Returns the newly created Span and a new `ctx` associated with the Span.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL