Grafana dividing 2 series

Denis Kovalenko picture Denis Kovalenko · Mar 10, 2017 · Viewed 11.4k times · Source

I'm trying to divide 2 series to get their ratio. For example I'm got sites (a.com, b.com, c.com) as * (All sites) Each of them has total sections count and errors occurred stats. I'm wanna to show as bars errors/sections where section > errors for each site to each erros for this site. Here I'm whant to got 3 bars.
So:
A parser.*.sections.total
B parser.*.errors.total

X-Axis Mode:Series
Display:DrawMode: Bars

When i'm trying to use divideSeries I'm always got VallueError(divideSeries second argument must reference exactly 1 series)

Answer

Joyce Babu picture Joyce Babu · Mar 5, 2018

A new function divideSeriesLists was introduced in Graphite 1.0.2 for dividing one series with another. Both the series should be of same length.