opentracing

package
v1.66.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: Unlicense Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler added in v1.47.0

type Handler struct {
	http.Handler
	// contains filtered or unexported fields
}

Handler for opentracing.

func NewHandler added in v1.47.0

func NewHandler(tracer Tracer, handler http.Handler) *Handler

NewHandler for opentracing.

func (*Handler) ServeHTTP added in v1.47.0

func (h *Handler) ServeHTTP(resp http.ResponseWriter, req *http.Request)

ServeHTTP for opentracing.

type RoundTripper

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

RoundTripper for opentracing.

func NewRoundTripper

func NewRoundTripper(tracer Tracer, hrt http.RoundTripper) *RoundTripper

NewRoundTripper for opentracing.

func (*RoundTripper) RoundTrip

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

type Tracer added in v1.58.0

type Tracer opentracing.Tracer

Tracer for opentracing.

func NewTracer added in v1.64.0

func NewTracer(params TracerParams) (Tracer, error)

NewTracer for opentracing.

type TracerParams added in v1.65.0

type TracerParams struct {
	fx.In

	Lifecycle fx.Lifecycle
	Config    *sopentracing.Config
	Version   version.Version
}

TracerParams for opentracing.

Jump to

Keyboard shortcuts

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