hyperdx icon indicating copy to clipboard operation
hyperdx copied to clipboard

Feature: Dashboard should allow label specific view (Dashboard)

Open alok87 opened this issue 10 months ago • 12 comments

Image

Say if we click on flag-xyz then the view should change to show only that label

alok87 avatar Jan 06 '26 12:01 alok87

Hi, this makes sense. Can I work on this issue? I would implement this as a session-only interaction (client-side state only), where clicking a label isolates that series and clicking again restores all series.

adityadewan22-hub avatar Jan 06 '26 13:01 adityadewan22-hub

@brandon-pereira ^

alok87 avatar Jan 06 '26 13:01 alok87

Image

Recently we added a drilldown feature that allows clicking on a graph with a groupby, when clicking the specific item it takes you to the search page focusing on that metric.

Does this achieve what you're looking for?

PR: https://github.com/hyperdxio/hyperdx/pull/1410

brandon-pereira avatar Jan 06 '26 16:01 brandon-pereira

Thanks for sharing the drilldown feature.

My understanding of this issue was a label click that isolates the selected series in-place on the dashboard, without navigating away If that’s still desired and not covered by the drilldown, I’m happy to work on it. Thanks

adityadewan22-hub avatar Jan 06 '26 17:01 adityadewan22-hub

Yes a label click should just start showing that label in the graph view and other labels lines in the graph disappears. Check how Grafana does it, its very similar.

alok87 avatar Jan 07 '26 16:01 alok87

Click on a series label (like "GET", "POST", "PUT") in the chart legend/bottom to filter and show only that series in the graph.

Image

Example: Clicking on GET should remove everything and show only the yellow GET line

alok87 avatar Jan 07 '26 17:01 alok87

Gotcha, makes sense. Thanks for the clarification @alok87! Definitely can see the value in this feature! @adityadewan22-hub if you are still interested, feel free to tackle this! I can review the PR. One UX thing - we should have 'back' functionality of some type to return to the default view.

brandon-pereira avatar Jan 07 '26 17:01 brandon-pereira

@adityadewan22-hub I have added the PR may be co-contribute if u want in that - its working https://github.com/hyperdxio/hyperdx/pull/1568

alok87 avatar Jan 07 '26 18:01 alok87

@adityadewan22-hub if you are still interested - @alok87 found one bug on https://github.com/hyperdxio/hyperdx/pull/1568#issuecomment-3722092601 and does not have capacity to fix.

brandon-pereira avatar Jan 08 '26 16:01 brandon-pereira

Yes, I’m happy to take a look at the bug related to dashboard tile tags. I’ll comment on the issue once I’ve reproduced it and propose a fix.

adityadewan22-hub avatar Jan 08 '26 16:01 adityadewan22-hub

I took a quick look and it might be related to ReactGridLayout behavior. I’m planning to dig deeper, try to reproduce it locally, and see if a fix makes sense. If all goes well, I’ll aim to open a PR by day after tomorrow.

adityadewan22-hub avatar Jan 08 '26 18:01 adityadewan22-hub

@brandon-pereira Do check from the product POV also. Since features like Chart filtering on clicking labels are standard thing in all dashboards but this tag based tile filtering is not.

Thanks @adityadewan22-hub

I will try adding the support for view of a panel/tile. Another standard thing.

Grafana is way ahead in terms of UX. We need to reach closer to the standard features as soon the better. // @MikeShi42 @wrn14897

alok87 avatar Jan 09 '26 05:01 alok87