Documentation ¶
Overview ¶
Package config contains the general configuration for system-probe
Index ¶
- Constants
- func Adjust(cfg model.Config)
- func FullKeyPath(pieces ...string) string
- func NSkey(ns string, pieces ...string) string
- func New(configPath string, fleetPoliciesDirPath string) (*types.Config, error)
- func ProcessEventDataStreamSupported() bool
- func SetupOptionalDatadogConfigWithDir(configDir, configFile string) error
- func ValidateSocketAddress(sockPath string) error
Constants ¶
const ( NetworkTracerModule types.ModuleName = "network_tracer" OOMKillProbeModule types.ModuleName = "oom_kill_probe" TCPQueueLengthTracerModule types.ModuleName = "tcp_queue_length_tracer" ProcessModule types.ModuleName = "process" EventMonitorModule types.ModuleName = "event_monitor" DynamicInstrumentationModule types.ModuleName = "dynamic_instrumentation" EBPFModule types.ModuleName = "ebpf" LanguageDetectionModule types.ModuleName = "language_detection" WindowsCrashDetectModule types.ModuleName = "windows_crash_detection" ComplianceModule types.ModuleName = "compliance" PingModule types.ModuleName = "ping" TracerouteModule types.ModuleName = "traceroute" DiscoveryModule types.ModuleName = "discovery" GPUMonitoringModule types.ModuleName = "gpu" )
system-probe module names
const (
// Namespace is the top-level configuration key that all system-probe settings are nested underneath
Namespace = "system_probe_config"
)
Variables ¶
This section is empty.
Functions ¶
func FullKeyPath ¶
FullKeyPath returns a full key path in the config file by joining multiple path fragments
func NSkey ¶
NSkey returns a full key path in the config file by joining the given namespace and the rest of the path fragments
func New ¶
New creates a config object for system-probe. It assumes no configuration has been loaded as this point.
func ProcessEventDataStreamSupported ¶
func ProcessEventDataStreamSupported() bool
ProcessEventDataStreamSupported returns true if process event data stream is supported
func SetupOptionalDatadogConfigWithDir ¶
SetupOptionalDatadogConfigWithDir loads the datadog.yaml config file from a given config directory but will not fail on a missing file
func ValidateSocketAddress ¶
ValidateSocketAddress validates that the sysprobe socket config option is of the correct format.
Types ¶
This section is empty.