tracer

package
v1.151.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 18 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler for tracer.

func NewHandler

func NewHandler(tracer Tracer) *Handler

NewHandler for tracer.

func (*Handler) ServeHTTP

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

ServeHTTP for tracer.

type Params

type Params struct {
	fx.In

	Lifecycle   fx.Lifecycle
	Config      *tracer.Config
	Environment env.Environment
	Version     version.Version
}

Params for tracer.

type RoundTripper

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

RoundTripper for tracer.

func NewRoundTripper

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

NewRoundTripper for tracer.

func (*RoundTripper) RoundTrip

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

RoundTrip for tracer.

type Tracer

type Tracer trace.Tracer

Tracer for tracer.

func NewTracer

func NewTracer(params Params) (Tracer, error)

NewTracer for tracer.

Jump to

Keyboard shortcuts

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