Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClickhouseConfig ¶
type Config ¶
type Config struct {
LogLevel string `json:"logLevel"`
LogRateInterval time.Duration `json:"logRateInterval"`
LogRateBurst int `json:"logRateBurst"`
SendLogsLevel string `json:"sendLogsLevel"`
PromMetricsExportEnabled bool `json:"promMetricsExportEnabled"`
PromMetricsExportInterval time.Duration `json:"promMetricsExportInterval"`
Version string `json:"version"`
BTFPath string `json:"BTFPath"`
ContainerdSockPath string `json:"containerdSockPath"`
HostCgroupsDir string `json:"hostCgroupsDir"`
MetricsHTTPListenPort int `json:"metricsHTTPListenPort"`
DataBatch DataBatchConfig `json:"dataBatch"`
Stats StatsConfig `json:"stats"`
Events EventsConfig `json:"events"`
EBPFEventsOutputChanSize int `validate:"required" json:"EBPFEventsOutputChanSize"`
EBPFEventsStdioExporterEnabled bool `json:"EBPFEventsStdioExporterEnabled"`
EBPFMetrics EBPFMetricsConfig `json:"EBPFMetrics"`
EBPFEventsPolicyConfig ebpftracer.EventsPolicyConfig `json:"EBPFEventsPolicyConfig"`
EBPFSignalEventsRingBufferSize uint32 `json:"EBPFSignalEventsRingBufferSize"`
EBPFEventsRingBufferSize uint32 `json:"EBPFEventsRingBufferSize"`
EBPFSkbEventsRingBufferSize uint32 `json:"EBPFSkbEventsRingBufferSize"`
MutedNamespaces []string `json:"mutedNamespaces"`
SignatureEngineConfig signature.SignatureEngineConfig `json:"signatureEngineConfig"`
Castai castai.Config `json:"castai"`
EnricherConfig EnricherConfig `json:"enricherConfig"`
Netflow NetflowConfig `json:"netflow"`
ProcessTree ProcessTreeConfig `json:"processTree"`
Clickhouse ClickhouseConfig `json:"clickhouse"`
KubeAPIServiceAddr string `json:"kubeAPIServiceAddr"`
ExportersQueueSize int `validate:"required" json:"exportersQueueSize"`
AutomountCgroupv2 bool `json:"automountCgroupv2"`
CRIEndpoint string `json:"criEndpoint"`
EventLabels []string `json:"eventLabels"`
EventAnnotations []string `json:"eventAnnotations"`
ContainersRefreshInterval time.Duration `json:"containersRefreshInterval"`
}
type DataBatchConfig ¶ added in v1.40.0
type DataBatchConfig struct {
// MaxBatchSizeBytes is approximate proto bytes sizes before compression.
// gRPC Go uses different sizes memory pools, see here https://github.com/grpc/grpc-go/blob/master/mem/buffer_pool.go#L38
// Our current default is 512kB batch size.
MaxBatchSizeBytes int `validate:"required" json:"maxBatchSizeBytes"`
FlushInterval time.Duration `validate:"required" json:"flushInterval"`
ExportTimeout time.Duration `validate:"required" json:"exportTimeout"`
}
type EBPFMetricsConfig ¶
type EnricherConfig ¶
type EventsConfig ¶
type EventsConfig struct {
Enabled bool `json:"enabled"`
}
type FileAccessConfig ¶ added in v1.39.7
type FileAccessConfig struct {
Enabled bool `json:"enabled"`
}
type NetflowConfig ¶
type NetflowConfig struct {
Enabled bool `json:"enabled"`
ExportInterval time.Duration `json:"exportInterval"`
Grouping ebpftracer.NetflowGrouping `json:"grouping"`
MaxPublicIPs int16 `json:"maxPublicIPs"`
CheckClusterNetworkRanges bool `json:"checkClusterNetworkRanges"`
}
type ProcessTreeConfig ¶
type ProcessTreeConfig struct {
Enabled bool `json:"enabled"`
}
Click to show internal directories.
Click to hide internal directories.