defaults

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: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Components

func Components(v *viper.Viper) config.Factories

Components creates default and Jaeger factories

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      config.Factories
	StorageType    string
	ZipkinHostPort string
}

ComponentSettings struct configures generation of the default config

func (ComponentSettings) CreateDefaultConfig

func (c ComponentSettings) CreateDefaultConfig() (*configmodels.Config, error)

CreateDefaultConfig creates default configuration.

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