apm-agent-rum-js
apm-agent-rum-js copied to clipboard
Log info, warn in ApmService, how to save more than one level in apm service
Hello!! I would like to know if we have the possibility to save more than one level with apmservice because it only captures errors
I would like to know if we have the possibility to save our console.logs in elastic and view them in kibana
Hi @wellbarea! Thanks for your interest in our rum agent.
Unfortunately, the RUM agent doesn't support storing browser logs at the moment but only errors. We let you know once this is prioritized.
Thanks, Kyungeun
Any news on this issue ?
Also chiming in that this is something that have been heavily requested at the org I work at. We would love to have the capability of logging other levels than error, although I am not entirely sure if I think that all browser logs should be captured automatically. I wouldn't mind having it be a very explicit call to the sdk when we actually want to send logs to elastic
Meaning for example that native console.info
is still ignored but apm.logger.info
is captured, if that makes sense. Then it can be up to us if we want to log something to elastic, the browser console, or both