Skip to content

Commit

Permalink
luci-app-statistics: scale up ping_droprate to range 0-100
Browse files Browse the repository at this point in the history
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: openwrt/packages#9677
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
  • Loading branch information
yousong committed Aug 10, 2019
1 parent 15e9526 commit 9def6fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9def6fa

Please sign in to comment.