flags

package
v0.0.0-...-4646cf5 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultConfigPath = "/opt/datadog-agent/etc/datadog.yaml"

DefaultConfigPath specifies the default configuration file path for non-Windows systems.

Variables

View Source
var (
	// ConfigPath specifies the path to the configuration file.
	ConfigPath string

	// PIDFilePath specifies the path to the PID file.
	PIDFilePath string

	// LogLevel specifies the log output level.
	LogLevel string

	// Version will cause the agent to show version information.
	Version bool

	// Info will display information about a running agent.
	Info bool

	// CPUProfile specifies the path to output CPU profiling information to.
	// When empty, CPU profiling is disabled.
	CPUProfile string

	// MemProfile specifies the path to output memory profiling information to.
	// When empty, memory profiling is disabled.
	MemProfile string
)
View Source
var Win = struct {
	InstallService   bool
	UninstallService bool
	StartService     bool
	StopService      bool
	Foreground       bool
}{}

Win holds a set of flags which will be populated only during the Windows build.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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