jaeger

package
v0.0.0-...-fcddabd Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExporter

func NewExporter(config Config, errorHandler emperror.Handler) (*jaeger.Exporter, error)

NewExporter creates a new, configured Jaeger exporter.

Types

type Config

type Config struct {
	// CollectorEndpoint is the Jaeger HTTP Thrift endpoint.
	// For example, http://localhost:14268.
	CollectorEndpoint string

	// AgentEndpoint instructs exporter to send spans to Jaeger agent at this address.
	// For example, localhost:6831.
	AgentEndpoint string

	// Username to be used if basic auth is required.
	// Optional.
	Username string

	// Password to be used if basic auth is required.
	// Optional.
	Password string

	// ServiceName is the name of the process.
	ServiceName string
}

Config holds information necessary for sending trace to Jaeger.

func (Config) Validate

func (c Config) Validate() error

Validate checks that the configuration is valid.

Jump to

Keyboard shortcuts

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