opentracing

package
v1.74.1 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2022 License: Unlicense Imports: 11 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 otr.

func NewHandler added in v1.47.0

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

NewHandler for otr.

func (*Handler) ServeHTTP added in v1.47.0

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

ServeHTTP for otr.

type RoundTripper

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

RoundTripper for otr.

func NewRoundTripper

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

NewRoundTripper for otr.

func (*RoundTripper) RoundTrip

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

type Tracer added in v1.58.0

type Tracer otr.Tracer

Tracer for otr.

func NewTracer added in v1.64.0

func NewTracer(params TracerParams) (Tracer, error)

NewTracer for otr.

type TracerParams added in v1.65.0

type TracerParams struct {
	fx.In

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

TracerParams for otr.

Jump to

Keyboard shortcuts

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