Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Prometheus ¶
type Prometheus struct { Limit string `default:"1000000" yaml:"limit"` QPSLimit int `default:"100" yaml:"qps-limit"` SeriesLimit int `default:"500" yaml:"series-limit"` MaxSamples int `default:"50000000" yaml:"max-samples"` AutoTaggingPrefix string `default:"df_" yaml:"auto-tagging-prefix"` RequestQueryWithDebug bool `default:"false" yaml:"request-query-with-debug"` ExternalTagCacheSize int `default:"1024" yaml:"external-tag-cache-size"` ExternalTagLoadInterval int `default:"300" yaml:"external-tag-load-interval"` ThanosReplicaLabels []string `yaml:"thanos-replica-labels"` OperatorOffloading bool `default:"false" yaml:"operator-offloading"` Cache PrometheusCache `yaml:"cache"` }
type PrometheusCache ¶
type PrometheusCache struct { RemoteReadCache bool `default:"false" yaml:"remote-read-cache"` // cache for database quering ResponseCache bool `default:"false" yaml:"response-cache"` // cache for query response (only operator offloading mode) CacheItemSize uint64 `default:"51200000" yaml:"cache-item-size"` // cache-item-size for each cache item, default: 50M CacheMaxCount int `default:"1024" yaml:"cache-max-count"` // cache-max-count for list of cache size CacheMaxAllowDeviation float64 `default:"3600" yaml:"cache-max-allow-deviation"` }
Click to show internal directories.
Click to hide internal directories.