jaeger

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2018 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 jaeger tracer.

Types

type AppConfig added in v0.7.0

type AppConfig struct {
	Enabled bool   `env:""`
	Addr    string `env:""`
}

AppConfig can be used in an application config to represent Jaeger connection details. It supports github.com/goph/nest

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"`
	MetricsFactory metrics.Factory `optional:"true"`
	Lifecycle      fxt.Lifecycle
}

TracerParams provides a set of dependencies for a tracer constructor.

Directories

Path Synopsis
metrics

Jump to

Keyboard shortcuts

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