Documentation ¶
Index ¶
Constants ¶
View Source
const (
// 1TB of executable address space
MaxArgMapScaleFactor = 8
)
View Source
const MiB = 1 << 20
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BpfVerifierLogLevel uint CollAgentAddr string Copyright bool DisableTLS bool MapScaleFactor uint MonitorInterval time.Duration ClockSyncInterval time.Duration NoKernelVersionCheck bool PprofAddr string ProbabilisticInterval time.Duration ProbabilisticThreshold uint ReporterInterval time.Duration SamplesPerSecond int SendErrorFrames bool Tracers string VerboseMode bool Version bool // HostName is the name of the host. HostName string // IPAddress is the IP address of the host that sends data to CollAgentAddr. IPAddress string Reporter reporter.Reporter Fs *flag.FlagSet }
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is an instance that runs, manages and stops the agent.
func New ¶
func New(cfg *Config) *Controller
New creates a new controller The controller can set global configurations (such as the eBPF syscalls) on setup. So there should only ever be one running.
Click to show internal directories.
Click to hide internal directories.