netdata-cloud
netdata-cloud copied to clipboard
[feat]: Dashboard - Chart sort order is not persisted
Feature description
Follow-up to #495
Charts lose their sort properties when switching tabs/reloading.
Expected behavior
Dashboard charts should persist their sort order.
Steps to reproduce
- create dashboard
- add "cpu.cpu0" chart
- set "sort dimensions" to anything but
Default
- (dashboard doesn't detect a change, so you can't
Save
) - reload page
Screenshots
https://user-images.githubusercontent.com/10883751/185796707-f51fdb85-a87e-416b-aa4b-710a5995076f.mp4
Error Logs
No response
Desktop
OS: Fedora 36 kernel 5.17 Browser: Brave 1.42
Additional context
No response
@snwflake thanks for raising this, this in fact is working as spec'ed. the sorting was introduced to help for a temporary investigation/troubleshooting across Overview, Single Node view and Dashboards.
your case seems to be specific on the Dashboards, right? we hope to soon revisit the features and functionality of Dashboards and, most probably, we will allow a higher level of customization compared to Overview/Single Node view.
could you share a bit into your use-case and/or requirements?
note: moving this to a feature request
hey @hugovalente-pm! yes, the behavior is (at least in my case) specific to dashboards. Seeing that it is supposed to be a customized view into whatever metrics you deem valuable, I think there has to be done more to achieve that goal.
I'm aware of the requests to add additional chart types and do support that view, because right now, it's just a glorified overview really.
My specific use case for raising this issue was apps.preads
. The default
sort order seems completely arbitrary to me and especially in a multinode dashboard, with a high potential amount of apps, sorting it every time by max .. min
over a selected period contradicts my personal idea of a dashboard.