Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultThrottle = 50000 DefaultThrottleBucket = 8 DefaultDecoderQueueCount = 2 DefaultDecoderQueueSize = 4096 DefaultBrokerQueueSize = 1 << 14 DefaultFlowLogTTL = 72 // hour )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Base *config.Config
CKWriterConfig config.CKWriterConfig `yaml:"flowlog-ck-writer"`
Throttle int `yaml:"throttle"`
ThrottleBucket int `yaml:"throttle-bucket"`
L4Throttle int `yaml:"l4-throttle"`
L7Throttle int `yaml:"l7-throttle"`
FlowLogTTL FlowLogTTL `yaml:"flow-log-ttl-hour"`
DecoderQueueCount int `yaml:"flow-log-decoder-queue-count"`
DecoderQueueSize int `yaml:"flow-log-decoder-queue-size"`
TraceTreeEnabled *bool `yaml:"flow-log-trace-tree-enabled"`
}
type FlowLogConfig ¶
type FlowLogConfig struct {
FlowLog Config `yaml:"ingester"`
}
type FlowLogTTL ¶
Click to show internal directories.
Click to hide internal directories.