Just to confirm that
angular.element('grafana-app').injector().get('timeSrv').setAutoRefresh('5s')
is exactly what I was after. Thanks for the tip @daniellee, not sure how I missed that. (and yes…I’m fully aware this may break in the future…)
Just to confirm that
angular.element('grafana-app').injector().get('timeSrv').setAutoRefresh('5s')
is exactly what I was after. Thanks for the tip @daniellee, not sure how I missed that. (and yes…I’m fully aware this may break in the future…)