jaeger

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Examples

Constants

This section is empty.

Variables

View Source
var IsGlobalRegistered bool
View Source
var MaxTagLength int

Functions

func Span

func Span(operationName string, serviceName ...string) (span opentracing.Span, closer io.Closer)
Example
span, closer := Span("op", "service")
if closer != nil {
	defer func() {
		closer.Close()
		IsGlobalRegistered = false
	}()
}
span.SetTag("tag", "tag")
defer span.Finish()
Output:

Types

This section is empty.

Jump to

Keyboard shortcuts

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