One of the aspects of New Relic Mobile that our team uses is to segment errors and events based on the client’s connection type. This helps to highlight things that are unique to wifi vs cellular users, etc.
What I am looking for is someway to do similar tracking for our browser clients via the New Relic Browser agent. Is there anything already in place that gives us that type of tracking.
The closest that I have found so far is to use custom attributes on PageView/PageAction events that record this. The data would come from the JavaScript NetworkInformation APIs as described in https://developer.mozilla.org/en-US/docs/Web/API/NetworkInformation. Granted those APIs are experimental and do not have support for all major browsers, so they would have to be enabled only for browsers that support them.
Are there better ways for us to be tracking this information? Is the browser agent able to do this out of the box for us?