Exclude PubNub Long Polling Requests in Browser
The NewRelic insights panel shows that our average page load times on the Browser tab sometimes spike to hundreds of seconds.
After doing some digging around, it looks like PubNub opens up a long polling HTTP connection for the duration of a users session. NewRelic adds this poll to our overall page load times. This really makes it hard to trust the data NewRelic produces for baseline metrics and error boundaries.
How do we ignore these long polls? Is there a strategy for ignoring PubNub requests? Or is there a recommended way to use the
.finish() functions to tell NewRelic when the page finishes loading?
We are using the latest version of Browser PRO + SPA.