Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dominikh opened this issue Apr 22, 2024 · 1 comment

Comments

@dominikh
Copy link

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

@SuperQ
Copy link
Owner

SuperQ commented Apr 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants