Merge pull request #3310 from TDT-AG/pr/20191114-luci-app-statistics

luci-app-statistics: update misleading load view
This commit is contained in:
Florian Eckert 2019-11-14 15:22:14 +01:00 committed by GitHub
commit c1f41f2919
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,9 +19,24 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
},
options = {
load__shortterm = { color = "ff0000", title = "1 minute", noarea = true },
load__midterm = { color = "ff6600", title = "5 minutes", noarea = true },
load__longterm = { color = "ffaa00", title = "15 minutes", noarea = true }
load__shortterm = {
color = "ff0000",
title = "1 minute",
noarea = true,
weight = 3
},
load__midterm = {
color = "ff6600",
title = "5 minutes",
overlay = true,
weight = 1
},
load__longterm = {
color = "ffaa00",
title = "15 minutes",
overlay = true,
weight = 2
}
}
}
}