I think you know this already, but the browser just crash if there's 30k spans.
Maybe not loading all data in browser memory and partially as scroll getting data from network and showing to user would solve the problem?
like infinite pagination.
SigNoz is an open-source APM. It helps developers monitor their applications & troubleshoot problems, an open-source alternative to DataDog, NewRelic, etc.