Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultUnmarshallQueueCount = 4 DefaultUnmarshallQueueSize = 10240 DefaultReceiverWindowSize = 1024 DefaultCKReadTimeout = 300 DefaultFlowMetrics1MTTL = 168 // hour DefaultFlowMetrics1STTL = 24 // hour DefaultPromWriterQueueCount = 2 DefaultPromWriterQueueSize = 100000 DefaultPromWriterBatchSize = 2048 DefaultPromWriterFlushTimeout = 5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Base *config.Config CKReadTimeout int `yaml:"ck-read-timeout"` CKWriterConfig config.CKWriterConfig `yaml:"metrics-ck-writer"` DisableSecondWrite bool `yaml:"disable-second-write"` UnmarshallQueueCount int `yaml:"unmarshall-queue-count"` UnmarshallQueueSize int `yaml:"unmarshall-queue-size"` ReceiverWindowSize uint64 `yaml:"receiver-window-size"` FlowMetricsTTL FlowMetricsTTL `yaml:"flow-metrics-ttl-hour"` }
type FlowMetricsConfig ¶
type FlowMetricsConfig struct {
FlowMetrics Config `yaml:"ingester"`
}
type FlowMetricsTTL ¶
type PCapConfig ¶
type PCapConfig struct {
FileDirectory string `yaml:"file-directory"`
}
Click to show internal directories.
Click to hide internal directories.