smokeping_prober icon indicating copy to clipboard operation
smokeping_prober copied to clipboard

grafana dashboard: latency plots overall average, should maybe average over a window?

Open dominikh opened this issue 1 year ago • 1 comments

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:

image

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:

image

dominikh avatar Apr 22 '24 23:04 dominikh

Oh, I didn't notice that. Yes, that's a bug.

SuperQ avatar Apr 23 '24 07:04 SuperQ