hypertrace / hypertrace-ui

UI for Hypertrace

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Order option for Explorer visualisation

cseas opened this issue · comments

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.

problem

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.

solution

Questions to address (if any)

This has been solved in the Razorpay fork, see razorpay#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.