config

package
v0.0.0-...-cba18c7 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package config contains the general configuration for system-probe

Index

Constants

View Source
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"
)

system-probe module names

View Source
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 Adjust

func Adjust(cfg config.Config)

Adjust makes changes to the raw config based on deprecations and inferences.

func New

func New(configPath string) (*types.Config, error)

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

func SetupOptionalDatadogConfigWithDir(configDir, configFile string) error

SetupOptionalDatadogConfigWithDir loads the datadog.yaml config file from a given config directory but will not fail on a missing file

func ValidateSocketAddress

func ValidateSocketAddress(sockPath string) error

ValidateSocketAddress validates that the sysprobe socket config option is of the correct format.

Types

This section is empty.

Directories

Path Synopsis
Package types contains the different types used by the system-probe config.
Package types contains the different types used by the system-probe config.

Jump to

Keyboard shortcuts

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