app-statistics: df: Don't separate disk usage types 938/head
authorDaniel Dickinson <lede@cshore.thecshore.com>
Mon, 5 Dec 2016 21:19:37 +0000 (16:19 -0500)
committerDaniel Dickinson <lede@cshore.thecshore.com>
Wed, 7 Dec 2016 08:45:21 +0000 (03:45 -0500)
The df plugin wasn't displaying useful lables for the space
used vs free vs reserved due to title override.  This patch
fixes that issues by removing the per-instance setting.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/df.lua

index fbc3884b46d017dfdd369b6cec58682bf3ef262a..b5633c15ffa842545d14ab014c8af7ca75a72079 100644 (file)
@@ -8,7 +8,6 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
        return {
                title = "%H: Disk space usage on %pi",
                vlabel = "Bytes",
-               per_instance  = true,
                number_format = "%5.1lf%sB",
 
                data = {