-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Prometheus: Show results of instant queries as text, not in table #32475
Comments
This keeps people using the vanilla UI for Prometheus. |
One idea raised by @itsmylife is that we could have a toggle to flip between table and text view. @obetomuniz is going to dig into the current state of how these results are presented and follow up with @ivanahuckova for further clarity. |
After a discussion with the UX team, @diegoadams wanted some time to do some user research around multiple (prometheus) queries. Moving to a blocked state for now, but I am interested if there is an iterative solution we can release without fully solving the multiple query problem. |
So after much thought and discussion on this, we decided to move forward after providing an additional expanded view that will only show values that are not undefined for each series, and the ability to toggle between this new "expanded" and "collapsed" views depending on the users use case, while still highlighting the ability to copy series as PromQL query strings. While there are still issues "seeing everything" in the collapsed view (especially with many/long label names/values), the new expanded view should be able to display all of the information returned for a single metric within the users viewport (i.e. without scrolling), and the collapsed view provides an easier way to compare metrics (and their values). I don't think we can choose which UI is correct (in regard to collapsed vs expanded) programmatically, as it depends on the user and their data, so I believe letting the user decide between these is the correct decision. Although note that the collapsed view also doesn't reserve space for values that are not applicable to the current series, so there are two variables at play between the two views, rendering each label/value pair on its own line, and including the value names inside the list item, as opposed to placed above like a table header. https://user-images.githubusercontent.com/109082771/208957906-5cdb5082-7bac-47ee-9c67-44a79ec92fc0.png ^^ The Github WYSIWYG isn't letting me upload images, just going to link them for now and I'll try to update soon. |
Yahoo! We've merged in the MVP implementation to main, and these changes will be released in 9.4.0. This was a much bigger lift than anticipated, but I'm really proud of what we've accomplished so far. Thank you to everyone who helped on this @obetomuniz @ivanahuckova @diegoadams @davkal @Elfo404 @gelicia @bohandley @itsmylife @evandandrea and more. We'll be adding some tracking events in #60990 (WIP) to help gather some base usage statistics. |
What would you like to be added:
We are currently showing results of instant queries in the table. This way, we split labels into separate columns. Based on feedback from community and discussion with @gouthamve, this can is impractical. Reasons why it is impractical:
Why is this needed:
Improve experience for Prometheus users.
The text was updated successfully, but these errors were encountered: