Describe the bug
If query priority is disabled, rejectQueryOrSetPriority is returned immediately
Then the data selection min and max time are not set in the request stats.
|
reqStats.SetDataSelectMaxTime(maxTime) |
Data selection range should be tracked even of query priority is disabled for query stats purpose.
Describe the bug
If query priority is disabled,
rejectQueryOrSetPriorityis returned immediatelycortex/pkg/querier/tripperware/query_attribute_matcher.go
Line 21 in 12412e6
Then the data selection min and max time are not set in the request stats.
cortex/pkg/querier/tripperware/query_attribute_matcher.go
Line 43 in 12412e6
Data selection range should be tracked even of query priority is disabled for query stats purpose.