jaeger

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTracer

func NewTracer(params TracerParams) (opentracing.Tracer, error)

NewTracer returns a new opentracing tracer.

Types

type Config

type Config struct {
	ServiceName string

	JaegerConfig jaegercfg.Configuration
}

Config holds a list of options used during the airbrake handler construction.

func NewConfig

func NewConfig(serviceName string) *Config

NewConfig returns a new config populated with default values.

type TracerParams

type TracerParams struct {
	dig.In

	Config    *Config
	Logger    log.Logger `optional:"true"`
	Lifecycle fxt.Lifecycle
}

TracerParams provides a set of dependencies for a tracer constructor.

Jump to

Keyboard shortcuts

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