Thanks for reaching out!
I have a few questions and comments:
-
What version of RUM are you using? (version 5.12 added this fix for error capturing)
-
What version of the elastic stack are you using?
-
Are you using APM server standalone or APM integration?
-
here is an full-fledge example of how to make work sourcemaps for APM standalone with version 7.17, please take a look when you have time.
-
Important: For higher versions the steps remain the same, the only difference is to make sure they upload the maps to the correct endpoint.
-
if you are using APM standalone server you should be uploading sourcemaps to APM server (e.g. http://localhost:8200/assets/v1/sourcemaps, in case you are using 7.17), if you are using integration you should be uploading sourcemaps to Kibana (e.g. http://localhost:5601/api/apm/sourcemaps)
Additionally, since I don't know the stack version you are using, I would also like to link the existing bugs related to sourcemaps we had in particular versions of APM.
- APM stacktrace doesn't work when more than 20 sourcemaps have been uploaded to /api/apm/sourcemaps (fixed in 8.3)
- Relative Path for sourcemaps not working with APM Integration (this bug was identified in 8.2, but it's not ruled out was introduced earlier) - (fixed in 8.5)
Cheers,
Alberto