luci-app-statistics: scale up ping_droprate to range 0-100
In original collectd, values of this metric are in range 0-1. OpenWrt previously have a custom patch scaling them up to range 0-100. That patch has been removed to align with possibly other deployments. Ref: https://github.com/openwrt/packages/pull/9677 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
15e9526089
commit
9def6faa4e
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ function rrdargs( graph, plugin, plugin_instance, dtype )
|
|||
data = {
|
||||
types = { "ping_droprate" },
|
||||
options = { ping_droprate = {
|
||||
noarea = true, overlay = true, title = "%di" } }
|
||||
noarea = true, overlay = true, title = "%di", transform_rpn = "100,*" } }
|
||||
} }
|
||||
}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue