log

package
v0.0.0-...-9575350 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Fraction       float64
	GitProjectPath string
}

func (*Config) NewTracer

func (c *Config) NewTracer(ctx context.Context) (yabs_trace.Tracer, error)

type Tracer

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

func NewLogTracing

func NewLogTracing(config *Config) (*Tracer, error)

func (*Tracer) NewClientInterceptorSpan

func (t *Tracer) NewClientInterceptorSpan(ctx context.Context, name string) (context.Context, *yabs_trace.Span)

func (*Tracer) NewClientSpan

func (t *Tracer) NewClientSpan(ctx context.Context, pkg, method string) (context.Context, *yabs_trace.Span)

func (*Tracer) NewServerInterceptorSpan

func (t *Tracer) NewServerInterceptorSpan(ctx context.Context, name string) (context.Context, *yabs_trace.Span)

func (*Tracer) NewServerSpan

func (t *Tracer) NewServerSpan(ctx context.Context, pkg, method string) (context.Context, *yabs_trace.Span)

func (*Tracer) NewSpan

func (t *Tracer) NewSpan(ctx context.Context, pkg, method string) (context.Context, *yabs_trace.Span)

func (*Tracer) NewSpanHTTP

func (t *Tracer) NewSpanHTTP(r *http.Request, pkg, method string) (*http.Request, *yabs_trace.Span)

Jump to

Keyboard shortcuts

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