tracer

package
v0.0.0-...-730ab85 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHookSpanCtx

func AddHookSpanCtx(ctx context.Context)

func Init

func Init(option *Options) (err error)

Types

type Jaeger

type Jaeger struct {
	Mode          string //local,server
	EndpointUrl   string
	UserName      string
	Password      string
	AgentEndpoint string
}

type Option

type Option func(*Options)

type Options

type Options struct {
	Driver string
	Name   string
	Zipkin Zipkin
	Jaeger Jaeger
}

func NewOptions

func NewOptions(opts ...Option) Options

type Zipkin

type Zipkin struct {
	EndpointUrl string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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