We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sort
Using sort with range queries will not work: the series in a range query result will always be sorted by the series labels.
This may be confusing for users. It would be nice to emit a warning annotation when sort is used for a range query to explain what is happening.
(acknowledgement: this is @bboreham's idea from #14083 (comment))
The text was updated successfully, but these errors were encountered:
It can be expensive on CPU to sort at every step of a range-query; we could save that overhead.
sort_by_label could work for range queries, but Prometheus currently overrides that too.
Sorry, something went wrong.
No branches or pull requests
Proposal
Using
sort
with range queries will not work: the series in a range query result will always be sorted by the series labels.This may be confusing for users. It would be nice to emit a warning annotation when
sort
is used for a range query to explain what is happening.(acknowledgement: this is @bboreham's idea from #14083 (comment))
The text was updated successfully, but these errors were encountered: