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:
Yousong Zhou 2019-08-09 10:05:02 +00:00
parent 15e9526089
commit 9def6faa4e

View file

@ -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