config

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: Apache-2.0 Imports: 1 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Bool                           = agentconfig.Bool
	String                         = agentconfig.String
	Int32                          = agentconfig.Int32
	TraceReporterType_OTLP         = agentconfig.TraceReporterType_OTLP
	TraceReporterType_ZIPKIN       = agentconfig.TraceReporterType_ZIPKIN
	PropagationFormat_B3           = agentconfig.PropagationFormat_B3
	PropagationFormat_TRACECONTEXT = agentconfig.PropagationFormat_TRACECONTEXT
)

Functions

func Load

func Load() *agentconfig.AgentConfig

func LoadEnv added in v0.4.0

func LoadEnv(cfg *agentconfig.AgentConfig)

func LoadFromFile

func LoadFromFile(configFile string) *agentconfig.AgentConfig

func PropagationFormats added in v0.4.0

func PropagationFormats(formats ...agentconfig.PropagationFormat) []agentconfig.PropagationFormat

Types

This section is empty.

Jump to

Keyboard shortcuts

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