statistics: cpu graph - add label definitions, add softirq and interrupt stats 448/head
authorHannu Nyman <hannu.nyman@iki.fi>
Sun, 23 Aug 2015 14:14:22 +0000 (17:14 +0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 23 Aug 2015 14:14:22 +0000 (17:14 +0300)
commit962cd2c4c1609566e3dd600f41c3bd16ca0276fb
tree1e4fbeb8a41b989353f7a3a5ee0b02594b7cc6fc
parent37f6bd557d56dec0c98a4e25a1acd111203cb3b8
statistics: cpu graph - add label definitions, add softirq and interrupt stats

CPU plugin in the Luci statistics was missing the label definitions,
so the field labels are like "cpu_system" instead of "System".
Add proper label definitions to CPU (like the other plugins already have).

The statistics graph was also missing softirq and interrupt stats, although colors
for them were defined. Softirq consumes massive amount of CPU especially with
any qos in use, so it is important for the user to see also that data. Add both
softirq and interrupt stats to the graph.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/cpu.lua