In some situations, the browser agent doesn’t seem to be setup fully in time for the nrvideo core library when it starts sending events.
I would notice the nrvideo core library send heartbeats but no subsequent REST requests were made.
I assumed that the browser agent isn’t setup since I set the NREUM loader and info later in the lifecycle because I pull the account info from a separate HTTP request depending on the skin the website is loaded with.
- Make request to get account info for NREUM loader and config depending on the query parameter the webpage’s skin is loaded with.
- Set the NREUM loader and config to the object with the account info fetched.
- NrVideo core library is loaded
- NrVideo core library starts sending events. ← Issue here where events are not sending REST requests to bam.nr-data.net but NrVideo core logs show it is emitting the events.