smokeping_prober
smokeping_prober copied to clipboard
grafana dashboard: latency plots overall average, should maybe average over a window?
The latency graph's query is currently
smokeping_response_duration_seconds_sum{host="${target:raw}"} / smokeping_response_duration_seconds_count{host="${target:raw}"}
which plots the overall average, and looks like this:
I believe it should instead be something like
rate(smokeping_response_duration_seconds_sum{host="${target:raw}"}[$__rate_interval]) / rate(smokeping_response_duration_seconds_count{host="${target:raw}"}[$__rate_interval])
instead, which looks like this:
Oh, I didn't notice that. Yes, that's a bug.