Skip to content
New issue

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

Support ordering by tag columns in totals queries #5741

Open
evanh opened this issue Apr 10, 2024 · 0 comments
Open

Support ordering by tag columns in totals queries #5741

evanh opened this issue Apr 10, 2024 · 0 comments

Comments

@evanh
Copy link
Member

evanh commented Apr 10, 2024

For widgets we would need to support order by the grouped-by fields and aggregate value.

Specifically this is for ordering a totals query that also has a group by. E.g.

SELECT project, tags[something], sum(value) AS total
GROUP BY project, tags[something]
ORDER BY project, total

This is really a symptom of the frontend wanting to display tables of metrics totals, ordered by arbitrary columns. The better solution might be to solve the larger problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant