app

package
v1.13.7 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *Config) *App

func (*App) Run

func (a *App) Run(ctx context.Context) error

type ClickhouseConfig added in v1.7.0

type ClickhouseConfig struct {
	Addr     string
	Database string
	Username string
	Password string
}

type Config

type Config struct {
	LogLevel                       string
	LogRateInterval                time.Duration
	LogRateBurst                   int
	SendLogsLevel                  string
	Version                        string
	BTFPath                        string
	PyroscopeAddr                  string
	ContainerdSockPath             string
	HostCgroupsDir                 string
	MetricsHTTPListenPort          int
	State                          state.Config
	ContainerStatsEnabled          bool
	EBPFEventsEnabled              bool
	EBPFEventsPerCPUBuffer         int `validate:"required"`
	EBPFEventsOutputChanSize       int `validate:"required"`
	EBPFEventsStdioExporterEnabled bool
	MutedNamespaces                []string
	SignatureEngineConfig          signature.SignatureEngineConfig
	Castai                         castai.Config
	EnricherConfig                 EnricherConfig
	Netflow                        NetflowConfig
	Clickhouse                     ClickhouseConfig
	KubeAPIServiceAddr             string
	ExportersQueueSize             int `validate:"required"`
}

func (Config) Proto added in v1.4.0

func (c Config) Proto() *castaipb.AgentConfig

type EnricherConfig added in v1.1.0

type EnricherConfig struct {
	EnableFileHashEnricher     bool
	RedactSensitiveValuesRegex *regexp.Regexp
}

type NetflowConfig added in v1.7.0

type NetflowConfig struct {
	Enabled                     bool
	SampleSubmitIntervalSeconds uint64
	OutputChanSize              int
	Grouping                    ebpftracer.NetflowGrouping
}

Jump to

Keyboard shortcuts

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