Hello Sai Jahnavi Behara (Quadrant Technologies LLC),
Grafana dashboards are set up to fetch new data periodically. If the dashboard is refreshed too often for the underlying query to load, the panel will be stuck without ever being able to load and display data.
- Check how frequently the dashboard is configured to refresh data.
- In your dashboard, go to Dashboard settings.
- In the general settings, lower the Auto refresh rate of the dashboard to be no faster than the time the query takes to load.
- When a query takes too long to retrieve data. Grafana will automatically time out certain dependency calls that take longer than, for example, 30 seconds. Check that there are no unusual slow-downs on the query's end.
If this doesn't help, check the network setting of the data source server. there should be no firewall blocking Grafana from accessing it.
And check that the data source isn't trying to connect to a private IP address. Azure Managed Grafana doesn't currently support connections to private networks.
Verify if the data source is configured to emit metrics during the specified time frame. Some resources may not emit metrics continuously, and if there were no transactions or events during that period, the data would naturally be absent.
Reference: https://codingtechroom.com/question/-grafana-dashboard-failed-to-fetch-error
Please check the above-mentioned points and do let us know if the issue still persists.
if the comment helpful, please click Upvote it.
Thanks