netdata-cloud
netdata-cloud copied to clipboard
[Feat]: Ability to apply same filter on all charts in a section
Problem
I find myself having to do the same group by and filtering manually on each chart in a section.
Description
Instead i would like to just define my chart group and filter options at the section level and have it then applied to all charts in the section to save me repeating myself.
Note this would mainly apply for menu sections like Applications, Users, etc so it would not work for all sections but could be very useful for ones where it could be possible since all the dims are the same.
For example maybe at the section level somewhere i can apply chart filters that apply to all charts in the section so i dont need to do it one by one

https://user-images.githubusercontent.com/2178292/205679518-c818499f-c474-4ae2-a33a-5db16d121420.mp4
Importance
nice to have
Value proposition
- less need to duplicate effort.
- let me get to what i need quicker.
Proposed implementation
Some way to define a "section" level filter/view/params somewhere in the dashboard. Near each section title makes most sense - maybe could be some sort of expandable element very similar to the chart filter itself.
Ability also to have this be remembered by NC so its like you left it the last time, or some other way to save it as your default etc.
this is linked to https://github.com/netdata/netdata-cloud/issues/295
I second this but would like it as part of a more general feature where the view settings are persistent. For example, I often have to change charts to group by dimension and every time I navigate away and back I have to set it over and over. It's a real PITA. So much so that I'd accept an agent-side config setting if required as a solution.
@hugovalente-pm i think even just having FE "remember" your last settings in some way could potentially be an easy first step in a better direction here based on what @luisj1983 is saying. In case some sort of chart caching on FE might even be an easier first thing we could look at before more complex UI solutions like i am suggesting above.
eg maybe if there was a toggle at user level to have chart filters be saved that could be useful for some users who alsoways end up doing same sets of clicks.
I think @novykh also mentioned this, we need to have a way to allow FE to have a way to store User / Space / Room settings including these chart definitions
I don't think having this on a FE cache will be trivial, but @novykh can share his thoughts, so we should aim to a BE way "bucket" to allow storing this and more things (e.g. save filter criteria)
this is also covered by https://github.com/netdata/netdata-cloud/issues/295