config

package
v0.0.0-...-6cfc1b2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpstreamAddressEnv          = "UPSTREAM_TELEMETRY_HOST_NAME"
	NamespacesToTapEnv          = "NAMESPACES_TO_TAP"
	TapLogLevelEnv              = "TAP_LOG_LEVEL"
	EnableTLSEnv                = "ENABLE_TLS"
	RootCertFilePathEnv         = "ROOT_CERT_FILE_PATH"
	TraceSamplingManagerAddress = "TRACE_SAMPLING_HOST_NAME"
	TraceSamplingEnabled        = "TRACE_SAMPLING_ENABLED"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	NamespaceToTap              []string
	UpstreamAddress             string
	MizuLogLevel                logging.Level
	EnableTLS                   bool
	RootCertFilePath            string
	TraceSamplingManagerAddress string
	TraceSamplingEnabled        bool
}

func LoadConfig

func LoadConfig() *Config

Jump to

Keyboard shortcuts

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