chitracer

package
v0.0.0-...-e4af952 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tracer

func Tracer(tr opentracing.Tracer, trCfg *Config, opts ...nethttp.MWOption) func(next http.Handler) http.Handler

Types

type Config

type Config struct {
	ServiceName    string
	ServiceVersion string
	ComponentName  string
	Tags           map[string]interface{}
	SpanFilter     func(r *http.Request) bool
}

Jump to

Keyboard shortcuts

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