Hi everyone,
I’ve been building out a custom Grafana dashboard to monitor some local home-lab metrics, and I’ve run into a frustrating performance issue that I’m trying to narrow down. For the most part, my panels refresh perfectly, but I’ve noticed that the frontend UI becomes almost unresponsive and starts throwing “Slow Query” or “Datasource Request Error” warnings if my machine is under a heavy process load.
I’ve been doing some experimentation with blox scripts in the background to see how the system handles high-frequency script execution while I’m trying to keep an eye on my real-time data visualizations. It seems like as soon as those background executors ramp up, the Chrome/Edge process running Grafana starts to hang, and my Prometheus data source intervals start skipping beats. It’s almost as if the browser is deprioritizing the WebSocket or HTTP requests for Grafana to give more CPU cycles to the background scripts.
Has anyone else noticed their Grafana panels stuttering or failing to refresh when there are other intensive third-party executors or scripts active on the same system? I’m trying to figure out if I should be adjusting the min_refresh_interval in the Grafana config or if there is a way to isolate the browser’s thread priority so it doesn’t get “drowned out” by the background load. I really want to be able to monitor my system’s health accurately even when I’m running heavy automation tasks.
Any advice on how to keep the dashboard snappy and prevent these intermittent connection errors during high-resource usage would be a huge help to my workflow!