anryko/grafana-influx-dashboard

Review the need in getInterval function

Closed this issue · 0 comments

https://github.com/anryko/grafana-influx-dashboard/blob/master/getdash.app.js#L715-L735

As was mentioned in (#39) when interval is returned as false grafana will determent the interval automatically which could be much better than my algorithm for time=7d or similar GET parameter queries. It would remove inconvenience when you want to change graph period using grafana interface after querying getdash with large time GET values.