Hi,
I have a .net core application. This application has some javascript code to record audio and take pictures (using getUserMedia). I also have a service worker whose purpose is check every request looking for audio and pictures uploads and, if after trying to fetch a request I find there is no internet connection, it saves them so I can resend them once we are online again.
At this moment I am using the APM RUM JS Agent in some .js files to start transactions and spans and get some info about the methods that record the audio or take the pictures. I am also capturing any error and sending it to the apm server manually.
I wanted to get the metrics involved in the method of the service worker that resend the request one by one, and I wanted to catch any exception for debugging purposes.
Thank you.