Documentation ¶
Overview ¶
Package types contains the different types used by the system-probe config.
This types are extracted to their own module so other can link against it without compiling with the entire system-probe code base.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Enabled bool EnabledModules map[ModuleName]struct{} // When the system-probe is enabled in a separate container, we need a way to also disable the system-probe // packaged in the main agent container (without disabling network collection on the process-agent). ExternalSystemProbe bool SocketAddress string MaxConnsPerMessage int LogFile string LogLevel string DebugPort int HealthPort int TelemetryEnabled bool StatsdHost string StatsdPort int }
Config represents the configuration options for the system-probe
func (Config) ModuleIsEnabled ¶
func (c Config) ModuleIsEnabled(modName ModuleName) bool
ModuleIsEnabled returns a bool indicating if the given module name is enabled.
type ModuleName ¶
type ModuleName string
ModuleName is a typed alias for string, used only for module names
Click to show internal directories.
Click to hide internal directories.