tarantool / grafana-dashboard

Dashboard for Tarantool application and database server monitoring with Grafana
MIT License
34 stars 11 forks source link

dashboard: in-built variable for rate interval #174

Closed DifferentialOrange closed 2 years ago

DifferentialOrange commented 2 years ago

In Grafana 7.2 $__rate_interval for Prometheus rate() metrics was introduced [1]. This patch replaces user-specified $rate_time_range variable with in-built $__rate_interval.

Since $__rate_interval should be enough to cover all rate cases, this patch also removes all code traces of rate time range configuration.

  1. https://grafana.com/blog/2020/09/28/new-in-grafana-7.2-__rate_interval-for-prometheus-rate-queries-that-just-work/

Closes #127