jaeger

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 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
	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