fping-exporter icon indicating copy to clipboard operation
fping-exporter copied to clipboard

changing number of probes (-c, --count=N) leads to broken graphs

Open LukeSiX opened this issue 5 years ago • 2 comments

I changed the probe counter -c from default 20 to 30 and the graphs are broken after that. Screenshot 2020-06-10 at 11 57 09

Between 11:18 and 11:46 the counter was set to 30 instead of 20. Looks like some problems with "filling" the quantile metrics?

Screenshot 2020-06-10 at 13 32 24

LukeSiX avatar Jun 10 '20 11:06 LukeSiX

target.go: quantile := fmt.Sprintf("%.3f", (float64(i)+1.0)/count)

This will lead to more metrics, but adjusting the graph.json to display this is gonna be difficult, I also don't have an idea or suggestion here.

Maybe only use multiples of 20 (40) and only graph every second metric (in case of 40 probes)?

LukeSiX avatar Jun 10 '20 11:06 LukeSiX

There probably should be an option on how many quantiles to use.

schweikert avatar Aug 06 '20 05:08 schweikert