fxjaeger

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 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 TracerParams

type TracerParams struct {
	dig.In

	Config *jaegercfg.Configuration

	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