Disable metrics collection that gets blocked by content blockers

Hello!

I’m currently running a public dashboard on https://resostats.j4.lc using Grafana v11.0.0 (83b9528bce) on Docker, and some users (including myself) started noticing a network error notice appearing every now and then on the top right of the screen:

Error message showing the text: NetworkError when attempting to fetch resource.

After digging a bit, it turns out it’s a failed call to the /api/frontend-metrics, which gets blocked by some content blockers like uBlock Origin.

Is there a way to completely disable that call since I do not want, nor need to collect metrics on Grafana itself.
Thanks!