luci-app-statistics: re-order CPU utilization graph classes

Reorder the CPU utilization classes to be in a more logical order
(from hardware toward user) instead of alphabetical order.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
This commit is contained in:
Hannu Nyman 2021-12-04 21:18:39 +02:00
parent 54de8568f0
commit f4dd8b6413

View file

@ -28,13 +28,13 @@ return baseclass.extend({
instances: { instances: {
cpu: [ cpu: [
...(show_idle ? ["idle"] : []), ...(show_idle ? ["idle"] : []),
"interrupt",
"nice", "nice",
"softirq",
"steal",
"system",
"user", "user",
"wait" "wait",
"system",
"softirq",
"interrupt",
"steal"
] ]
}, },
options: { options: {
@ -68,7 +68,7 @@ return baseclass.extend({
}, },
cpu_wait: { cpu_wait: {
color: "ffb000", color: "ffb000",
title: "Wait" title: "Wait I/O"
} }
} }
} }
@ -84,13 +84,13 @@ return baseclass.extend({
instances: { instances: {
percent: [ percent: [
...(show_idle ? ["idle"] : []), ...(show_idle ? ["idle"] : []),
"interrupt",
"nice", "nice",
"softirq",
"steal",
"system",
"user", "user",
"wait" "wait",
"system",
"softirq",
"interrupt",
"steal"
] ]
}, },
options: { options: {
@ -124,7 +124,7 @@ return baseclass.extend({
}, },
percent_wait: { percent_wait: {
color: "ffb000", color: "ffb000",
title: "Wait" title: "Wait I/O"
} }
} }
} }