anryko / grafana-influx-dashboard

Grafana InfluxDB scripted dashboard
MIT License
132 stars 44 forks source link

Review the need in getInterval function #40

Closed anryko closed 8 years ago

anryko commented 8 years ago

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.