zipkin_opentracing

package
v2.1.41 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewZipKinTracer

func NewZipKinTracer(appName string, endPointUrl string) opentracing.Tracer

NewZipKinTracer 通过 http 直接上报 appName application name serviceName#env

func StartSpanWithCtx

func StartSpanWithCtx(ctx context.Context, skip int) (opentracing.Span, context.Context)

StartSpanWithCtx 生成上下文span skip The argument skip is the number of stack frames to ascend, with 0 identifying the caller of Caller

Types

type RoundTripper added in v2.1.28

type RoundTripper struct {
	// contains filtered or unexported fields
}

func NewRoundTripper added in v2.1.28

func NewRoundTripper(tripper http.RoundTripper) *RoundTripper

func (*RoundTripper) RoundTrip added in v2.1.28

func (ort *RoundTripper) RoundTrip(req *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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