SuperQ / smokeping_prober

Prometheus style smokeping
Apache License 2.0
569 stars 73 forks source link

Update dashboard.json to use dynamic rate interval #122

Open iustin opened 11 months ago

iustin commented 11 months ago

Per https://grafana.com/blog/2020/09/28/new-in-grafana-7.2-__rate_interval-for-prometheus-rate-queries-that-just-work/, a fixed rate interval works only in some cases. The current 1m assumes that everyone uses the default prometheus scraping interval (15s), but this is not guaranteed, so replace with $__rate_interval which should deal with things automatically in most cases.

iustin commented 7 months ago

Friendly ping.

SuperQ commented 7 months ago

This needs a DCO sign-off. You can use git commit -s --amend to add it.

iustin commented 7 months ago

Updated, thanks for the info.