diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-10-05 19:11:51 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-10-05 19:11:51 +0200 |
commit | 78c61d6de000c0839dda6da4f9ec5e1e6bdc98ac (patch) | |
tree | f5fb4d920c20d807aafff21a4537b9feb2a51411 /applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua | |
parent | c8c4a343c2e7ab2f7af00531d0c2fd30c33e51b4 (diff) |
luci-app-statistics: reorder interface, netlink and openvpn datasources
This aligns the order and grouping of RX and TX network datasources.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Diffstat (limited to 'applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua')
-rw-r--r-- | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua index 9e879a44a6..7b6acf3663 100644 --- a/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua +++ b/applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/netlink.lua @@ -61,6 +61,7 @@ function rrdargs( graph, plugin, plugin_instance ) options = { -- processed packets (tx DS) if_packets__tx = { + weight = 2, title = "Total (TX)", overlay = true, -- don't summarize total = true, -- report total amount of bytes @@ -69,6 +70,7 @@ function rrdargs( graph, plugin, plugin_instance ) -- processed packets (rx DS) if_packets__rx = { + weight = 3, title = "Total (RX)", overlay = true, -- don't summarize flip = true, -- flip rx line @@ -78,6 +80,7 @@ function rrdargs( graph, plugin, plugin_instance ) -- dropped packets (tx DS) if_dropped__tx = { + weight = 1, title = "Dropped (TX)", overlay = true, -- don't summarize total = true, -- report total amount of bytes @@ -86,6 +89,7 @@ function rrdargs( graph, plugin, plugin_instance ) -- dropped packets (rx DS) if_dropped__rx = { + weight = 4, title = "Dropped (RX)", overlay = true, -- don't summarize flip = true, -- flip rx line @@ -95,6 +99,7 @@ function rrdargs( graph, plugin, plugin_instance ) -- packet errors (tx DS) if_errors__tx = { + weight = 0, title = "Errors (TX)", overlay = true, -- don't summarize total = true, -- report total amount of packets @@ -103,6 +108,7 @@ function rrdargs( graph, plugin, plugin_instance ) -- packet errors (rx DS) if_errors__rx = { + weight = 5, title = "Errors (RX)", overlay = true, -- don't summarize flip = true, -- flip rx line |