support

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleInstrumenter

type ConsoleInstrumenter struct{}

func (ConsoleInstrumenter) Init

func (c ConsoleInstrumenter) Init() func()

func (ConsoleInstrumenter) InsertHeader

func (c ConsoleInstrumenter) InsertHeader(r *http.Request) *http.Request

func (ConsoleInstrumenter) Report

func (c ConsoleInstrumenter) Report(ctx context.Context, e event.Event, metadata ...any) context.Context

func (ConsoleInstrumenter) WrapHTTPClient

func (c ConsoleInstrumenter) WrapHTTPClient(client *http.Client) *http.Client

func (ConsoleInstrumenter) WrapHandler

func (c ConsoleInstrumenter) WrapHandler(handler http.Handler) http.Handler

func (ConsoleInstrumenter) WrapHandlerFunc

func (c ConsoleInstrumenter) WrapHandlerFunc(handlerFunc http.HandlerFunc) http.HandlerFunc

type ConsoleRoundTripper

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

func (*ConsoleRoundTripper) RoundTrip

func (c *ConsoleRoundTripper) RoundTrip(r *http.Request) (*http.Response, error)

type DDInstrumenter

type DDInstrumenter struct{}

func (DDInstrumenter) Init

func (_ DDInstrumenter) Init() func()

func (DDInstrumenter) InsertHeader

func (_ DDInstrumenter) InsertHeader(r *http.Request) *http.Request

func (DDInstrumenter) Report

func (_ DDInstrumenter) Report(ctx context.Context, e event.Event, metadata ...any) context.Context

func (DDInstrumenter) WrapHTTPClient

func (_ DDInstrumenter) WrapHTTPClient(client *http.Client) *http.Client

func (DDInstrumenter) WrapHandler

func (_ DDInstrumenter) WrapHandler(handler http.Handler) http.Handler

func (DDInstrumenter) WrapHandlerFunc

func (_ DDInstrumenter) WrapHandlerFunc(handlerFunc http.HandlerFunc) http.HandlerFunc

type OTelInstrumenter

type OTelInstrumenter struct {
	Tracer   trace.Tracer
	RootSpan trace.Span
}

func (*OTelInstrumenter) Init

func (o *OTelInstrumenter) Init() func()

func (*OTelInstrumenter) InsertHeader

func (o *OTelInstrumenter) InsertHeader(r *http.Request) *http.Request

func (*OTelInstrumenter) Report

func (o *OTelInstrumenter) Report(ctx context.Context, e event.Event, metadata ...any) context.Context

func (*OTelInstrumenter) WrapHTTPClient

func (o *OTelInstrumenter) WrapHTTPClient(client *http.Client) *http.Client

func (*OTelInstrumenter) WrapHandler

func (o *OTelInstrumenter) WrapHandler(handler http.Handler) http.Handler

func (*OTelInstrumenter) WrapHandlerFunc

func (o *OTelInstrumenter) WrapHandlerFunc(handlerFunc http.HandlerFunc) http.HandlerFunc

Jump to

Keyboard shortcuts

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