trace

package
v0.1.24 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2018 License: Apache-2.0 Imports: 5 Imported by: 83

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Trace

func Trace(ctx context.Context, operationName string) (opentracing.Span, context.Context)

Trace encapsulates begin and end can be called like: defer trace.Trace(context.Background(), "operation name").Finish()

func Tracef

func Tracef(ctx context.Context, format string, a ...interface{}) (opentracing.Span, context.Context)

Tracef encapsulates begin and end can be called like: defer trace.Tracef(context.Background(), "operation name %s", param).Finish() Like Trace but takes a format string and parameters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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