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 fbc3884..b5633c1 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 = {