jaeger

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOpenTracer

func NewOpenTracer(serverName, address string) (opentracing.Tracer, io.Closer, error)

Types

type Jaeger

type Jaeger struct{}

type Tracer

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

func New

func New(service, addr string) (*Tracer, error)

func (*Tracer) Close

func (tracer *Tracer) Close() error

func (*Tracer) Instance

func (tracer *Tracer) Instance() opentracing.Tracer

func (*Tracer) ListenHttp

func (tracer *Tracer) ListenHttp(router *gin.Engine)

func (*Tracer) NewContext

func (tracer *Tracer) NewContext(ctx context.Context, span opentracing.Span) context.Context

func (*Tracer) NewHttpRequestWithContext

func (tracer *Tracer) NewHttpRequestWithContext(ctx context.Context, req *http.Request) *nethttp.Tracer

func (*Tracer) NewHttpRequestWithSpanName

func (tracer *Tracer) NewHttpRequestWithSpanName(name string, req *http.Request) *nethttp.Tracer

func (*Tracer) NewSpan

func (tracer *Tracer) NewSpan(name string) opentracing.Span

NewSpan return opentracing.Span object, it should call Finish() method.

Jump to

Keyboard shortcuts

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