jaeger

package
v0.0.0-...-2215086 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 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.ErrorHandler) (*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, http://localhost:14268/api/traces?format=jaeger.thrift.
	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