You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
queryPartitionLabels:=cmd.Flag("query.partition-label", "Labels that partition the leaf queriers. This is used to scope down the labelsets of leaf queriers when using the distributed query mode. If set, these labels must form a partition of the leaf queriers. Partition labels must not intersect with replica labels. Every TSDB of a leaf querier must have these labels. This is useful when there are multiple external labels that are irrelevant for the partition as it allows the distributed engine to ignore them for some optimizations. If this is empty then all labels are used as partition labels.").Strings()
130
131
131
-
enableDedupMerge:=cmd.Flag("query.dedup-merge", "Enable deduplication merge of multiple time series with the same labels.").
132
-
Default("false").Bool()
133
-
enableQuorumChunkDedup:=cmd.Flag("query.quorum-chunk-dedup", "Enable quorum-based deduplication for chunks from replicas.").
134
-
Default("false").Bool()
132
+
queryDeduplicationFunc:=cmd.Flag("query.deduplication.func", "Experimental. Deduplication algorithm for merging overlapping series. "+
133
+
"Possible values are: \"penalty\", \"chain\", \"quorum\". If no value is specified, penalty based deduplication algorithm will be used. "+
134
+
"When set to chain, the default compact deduplication merger is used, which performs 1:1 deduplication for samples. At least one replica label has to be set via --query.replica-label flag."+
135
+
"When set to quorum, the databricks deduplication algorithm is used, it is suitable for metrics ingested via receivers.").
instantDefaultMaxSourceResolution:=extkingpin.ModelDuration(cmd.Flag("query.instant.default.max_source_resolution", "default value for max_source_resolution for instant queries. If not set, defaults to 0s only taking raw resolution into account. 1h can be a good value if you use instant queries over time ranges that incorporate times outside of your raw-retention.").Default("0s").Hidden())
0 commit comments