You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request (priority: super-low): It would be nice if one could add aliases for fs devices. Currently (on the web) there is something like that, what is not easy to read nor understand (FYI: I'm running inside docker).
Additionally to having aliases it would also be great to have an allow-list not only a hide-list and/or (even better) a switch to only show fs's that are aliased.
Since I did not find any "deeper-than-one" level of config anywhere, config might be like:
[fs]
show=.*nvme.*
# colon-separated (<path>:<alias>) + comma-separated
alias=/foo/bar/baz:personal,/bar/foo:backup
# Set this to True if only aliased fs should be shown
show_aliased_only=True
Would like to provide some code, but as soon as I open py-files my brain issues some kind of kernel panic... :-D
The text was updated successfully, but these errors were encountered:
Partially implemented in the develop branch for the "show" feature.
For the other one, as alias are already used in others plugins (disk...), we need to refactor the way alias are configure in the Glances conf file. Your proposal is better than the actual one. I propose (in Glances v4) to move all alias from:
foo_alias=value
to
alias=foo:value
nicolargo
changed the title
[FR] Aliases for FS
Refactor alias configuration in the Glances configuration file
Sep 25, 2022
nicolargo
changed the title
Refactor alias configuration in the Glances configuration file
Refactor alias configuration and allow alias for fs devices
Dec 17, 2023
Description
Feature Request (priority: super-low): It would be nice if one could add aliases for fs devices. Currently (on the web) there is something like that, what is not easy to read nor understand (FYI: I'm running inside docker).
Additionally to having aliases it would also be great to have an allow-list not only a hide-list and/or (even better) a switch to only show fs's that are aliased.
Since I did not find any "deeper-than-one" level of config anywhere, config might be like:
Would like to provide some code, but as soon as I open
py
-files my brain issues some kind of kernel panic... :-DThe text was updated successfully, but these errors were encountered: