Can Elastic APM RUM handle stacktrace from Electron

Kibana version:
7.6.1

Elasticsearch version:
7.6.1

APM Server version:
7.6.1

APM Agent language and version:
5.6.1

Browser version:
Latest version of Electron

I wonder whether Elastic APM RUM can handle stacktrace from Electron

I used rum agent, which be installed into Electron app, to report error to apm server. But I can't view source code mapping to stacktrace on Kibana.

I uploaded source map files which the field bundle_filepath doesn't contain parent folder path to apm server.
And apm server received the stacktrace of error from Electron app, the field abs_path of stacktrace contains parent folder path, and Kibana told me ‘’No Sourcemap available‘’.

field bundle_filepath in sourcemap: /noteToolbar.js

field abs_path in stacktrace: /F:/parent_folder_path/noteToolbar.js

Hi @Matrix,

The bundle_filepath needs to match the abs_path as well. Furthermore, make sure that serviceName and serviceName are also configured correctly in the agent.

I hope this helps.

Cheers,
Hamid

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.