defaultconfig

package
v0.0.0-...-5deca64 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeConfigs

func MergeConfigs(dst, src *configmodels.Config) error

MergeConfigs merges two configs. The src is merged into dst.

Types

type ComponentSettings

type ComponentSettings struct {
	ComponentType ComponentType
	Factories     component.Factories
	StorageType   string
}

ComponentSettings struct configures generation of the default config

func (*ComponentSettings) DefaultConfigFactory

func (c *ComponentSettings) DefaultConfigFactory(jaegerViper *viper.Viper) service.ConfigFactory

DefaultConfigFactory returns a service.ConfigFactory that merges jaeger and otel configs

type ComponentType

type ComponentType int

ComponentType defines component Jaeger type.

const (
	// Agent component
	Agent ComponentType = iota
	// Collector component
	Collector
	// Ingester component
	Ingester
	// AllInOne component
	AllInOne
)

Jump to

Keyboard shortcuts

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