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
Copy file name to clipboardExpand all lines: docs/configuration.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1852,11 +1852,29 @@ Whether to hide the swap usage.
1852
1852
| Name | Type | Required | Default |
1853
1853
| ---- | ---- | -------- | ------- |
1854
1854
| cpu-temp-sensor | string | no | |
1855
+
| hide-mointpoints-by-default | boolean | no | false |
1855
1856
| mountpoints | map\[string\]object | no | |
1856
1857
1857
1858
###### `cpu-temp-sensor`
1858
1859
The name of the sensor to use for the CPU temperature. When not provided the widget will attempt to find the correct one, if it fails to do so the temperature will not be displayed. To view the available sensors you can use `sensors` command.
1859
1860
1861
+
###### `hide-mountpoints-by-default`
1862
+
If set to `true` you'll have to manually make each mountpoint visible by adding a `hide: false` property to it like so:
1863
+
1864
+
```yaml
1865
+
- type: server-stats
1866
+
servers:
1867
+
- type: local
1868
+
hide-mountpoints-by-default: true
1869
+
mountpoints:
1870
+
"/":
1871
+
hide: false
1872
+
"/mnt/data":
1873
+
hide: false
1874
+
```
1875
+
1876
+
This is useful if you're running Glance inside of a container which usually mounts a lot of irrelevant filesystems.
1877
+
1860
1878
###### `mountpoints`
1861
1879
A map of mountpoints to display disk usage for. The key is the path to the mountpoint and the value is an object with optional properties. Example:
0 commit comments