Disk usage graphing was broken. This fixes it.
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
number_format = "%5.1lf%sB",
data = {
- sources = {
- df = { "free", "used" }
+ instances = {
+ df_complex = { "free", "used", "reserved" }
},
options = {
- df__free = {
+ df_complex_free = {
color = "00ff00",
overlay = false,
title = "free"
},
- df__used = {
+ df_complex_used = {
color = "ff0000",
overlay = false,
title = "used"
+ },
+
+ df_complex_reserved = {
+ color = "0000ff",
+ overlay = false,
+ title = "reserved"
}
}
}