diff --git a/CHANGELOG.md b/CHANGELOG.md index 65051ae945..7f4e067436 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,7 +15,8 @@ We use *breaking :warning:* to mark changes that are not backward compatible (re - [#5854](https://github.com/thanos-io/thanos/pull/5854) Query Frontend: Handles `lookback_delta` param in query frontend. - [#5230](https://github.com/thanos-io/thanos/pull/5230) Rule: Stateless ruler support restoring `for` state from query API servers. The query API servers should be able to access the remote write storage. - [#5880](https://github.com/thanos-io/thanos/pull/5880) Query Frontend: Fixes some edge cases of query sharding analysis. -- [#5893](https://github.com/thanos-io/thanos/pull/5893) Cache: fixed redis client not respecting `SetMultiBatchSize` config value. +- [#5893](https://github.com/thanos-io/thanos/pull/5893) Cache: Fixed redis client not respecting `SetMultiBatchSize` config value. +- [#5966](https://github.com/thanos-io/thanos/pull/5966) Query: Fixed mint and maxt when selecting series for the `api/v1/series` HTTP endpoint. ### Added diff --git a/pkg/query/querier.go b/pkg/query/querier.go index b094cbd45c..9fe4b96eca 100644 --- a/pkg/query/querier.go +++ b/pkg/query/querier.go @@ -349,8 +349,8 @@ func (q *querier) selectFn(ctx context.Context, hints *storage.SelectHints, ms . } if err := q.proxy.Series(&storepb.SeriesRequest{ - MinTime: hints.Start, - MaxTime: hints.End, + MinTime: q.mint, + MaxTime: q.maxt, Matchers: sms, MaxResolutionWindow: q.maxResolutionMillis, Aggregates: aggrs,