hypertrace-ui
hypertrace-ui copied to clipboard
Order option for Explorer visualisation
Use Case
We want to find the top 5 merchants with the highest number of calls. This is not possible with the current UI since the groupBy results are sorted to show the tags with the least number of calls by default.

Proposal
The explore
GraphQL query already supports ordering of results. Add an option to the UI so the user can choose to sort the results.

Questions to address (if any)
This has been solved in the Razorpay fork, see https://github.com/razorpay/hypertrace-ui/pull/49
The feature makes sense (and I believe someone had mentioned working on this? @anandtiwary do you know if this got picked up?), but any solution will need to support selecting metrics (attribute and aggregation, if applicable), rather than the implicit assumption that we always want to sort by the first selected metric that's being done in this screenshot. For example, I could want to see the p99 latency for the my highest volume merchants.