Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultDecoderQueueCount = 1 DefaultDecoderQueueSize = 1 << 14 DefaultPrometheusTTL = 168 // hour DefaultLabelMsgMaxSize = 100 << 20 // 100M DefaultLabelRequestMetricBatchCount = 128 DefaultAppLabelColumnIncrement = 4 DefaultAppLabelColumnMinCount = 8 DefaultLabelCacheExpiration = 86400 // 1 day )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Base *config.Config
CKWriterConfig config.CKWriterConfig `yaml:"prometheus-ck-writer"`
DecoderQueueCount int `yaml:"prometheus-decoder-queue-count"`
DecoderQueueSize int `yaml:"prometheus-decoder-queue-size"`
TTL int `yaml:"prometheus-ttl-hour"`
LabelMsgMaxSize int `yaml:"prometheus-label-msg-max-size"`
LabelRequestMetricBatchCount int `yaml:"prometheus-label-request-metric-batch-count"`
AppLabelColumnIncrement int `yaml:"prometheus-app-label-column-increment"`
AppLabelColumnMinCount int `yaml:"prometheus-app-label-column-min-count"`
IgnoreUniversalTag bool `yaml:"prometheus-sample-ignore-universal-tag"`
LabelCacheExpiration int `yaml:"prometheus-label-cache-expiration"`
}
type PrometheusConfig ¶
type PrometheusConfig struct {
Prometheus Config `yaml:"ingester"`
}
Click to show internal directories.
Click to hide internal directories.