jaegerexporter

package
v0.0.0-...-3f6bfc6 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	// Wrapped is Jaeger receiver.
	Wrapped *jaegerexporter.Factory
	// Viper is used to get configuration values for default configuration
	Viper *viper.Viper
}

Factory wraps jaegerexporter.Factory and makes the default config configurable via viper. For instance this enables using flags as default values in the config object.

func (Factory) CreateDefaultConfig

func (f Factory) CreateDefaultConfig() configmodels.Exporter

CreateDefaultConfig returns default configuration of Factory. This function implements OTEL component.ExporterFactoryBase interface.

func (Factory) CreateMetricsExporter

func (f Factory) CreateMetricsExporter(
	ctx context.Context,
	params component.ExporterCreateParams,
	cfg configmodels.Exporter,
) (component.MetricsExporter, error)

CreateMetricsExporter creates a metrics exporter based on provided config. This function implements component.ExporterFactory.

func (Factory) CreateTraceExporter

CreateTraceExporter creates Jaeger trace exporter. This function implements OTEL component.ExporterFactory interface.

func (Factory) Type

func (f Factory) Type() configmodels.Type

Type returns the type of the exporter.

Jump to

Keyboard shortcuts

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