Hello Grafana community, I’m currently struggling with the following problem and would request some helpful pointers.
- we have a plugin where every call to
this.backendSrv.datasourceRequestHTTP request that takes 8 seconds to complete (the server is slow in responding)
- our Auto-Refresh is set to 5 seconds.
I’m using sync
function query and
this.backendSrv.datasourceRequest and currently I get the behaviour that the auto-refresh will trigger every 5 seconds without fail. This leads to cases where many unfinished requests are pilling up.
Is there a way to make the auto-refresh only trigger after a previous requests has successfully finished?