Grafana dividing 2 series
13,767
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.
Author by
Denis Kovalenko
Updated on June 14, 2022Comments
-
Denis Kovalenko almost 2 years
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.totalX-Axis Mode:Series
Display:DrawMode: BarsWhen i'm trying to use divideSeries I'm always got VallueError(divideSeries second argument must reference exactly 1 series)