Track network usage for my app

Hi

Can the Android SDK help me understand mobile data usage for my app?

Categorized by host.

For example:
Average app usage for November-2021:
s3.amazon.com → 50 MB
myapp.com → 100 MB
analytics.google.com → 20 MB
etc.

Thanks

Hey @arturo2

The Android agent captures bytesSent and bytesReceived for Http Requests.

On the Http Requests page in New Relic One, you can set the Group by filter to bytesSent or bytesReceived, or the Sort by filter to Transfer size to combine the two values when reviewing your request data.

Or using NRQL queries:

SELECT (sum(bytesReceived) + sum(bytesSent)) as ‘Total Usage’ FROM 
MobileRequest WHERE requestDomain = 's3.amazon.com'
SELECT sum(bytesSent), sum(bytesReceived) FROM MobileRequest ...

I’ll also link you to the data dictionary that will outline everything captured for the MobileRequest event type: New Relic data dictionary | New Relic Documentation

2 Likes

Awesome @dmurray !

How much does it cost to add the Android app to APM?
It the cost only affected by the data sent to New Relic?

Thanks

Cost is based on usage; 100 GBs per month is free. $0.25 per GB ingested above that. Here are some links to additional info on different subscription options:

Hope this helps!

1 Like