tracing

package
v1.0.69 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	XRequestId          = "X-Request-Id"
	UberTraceID         = "Uber-Trace-Id"
	SERVICE_NAME        = "SERVICE_NAME"
	JAEGER_SERVICE_NAME = "JAEGER_SERVICE_NAME"
)

Variables

This section is empty.

Functions

func GetTracer

func GetTracer() opentracing.Tracer

func InitTracing

func InitTracing(serviceName string)

func SpanContext

func SpanContext(
	carier *http.Header,
	url string,
) opentracing.Span

Types

This section is empty.

Jump to

Keyboard shortcuts

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