Splunk AppDynamics

Android :Network Requests don not show anything

CommunityUser
Splunk Employee
Splunk Employee

I am new to AppDynamics and trying to use it for my Android app. I am using Retrofit2 library to call nework requests and my app is making many requests but the network requests field in the controller shows nothing. Am I missing something?

Labels (1)
Tags (1)
0 Karma

Amit_Jha
Path Finder

Mobile RUM by default support the network libraries listed here:

https://docs.appdynamics.com/display/PRO44/Mobile+RUM+Supported+Environments

If you would like  Android Agent to detect requests from a custom library , you need to add request tracking code.

https://docs.appdynamics.com/display/PRO44/Customize+the+Android+Instrumentation#CustomizetheAndroid...

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Amit,

Thank for your reply.

In AppDynamics docs, it is mentioned that Mobile RUM supports OkHttp and Android retrofit library is built on OkHttp. So wanted to make sure if it supports retrofit too because using request tracker will be too much code changes to my app.

0 Karma

Amit_Jha
Path Finder

Is there a way to share the android application log. We want to see how the network calls are being made and if the beacon calls are being made ? You can make a sample network request and then capture the application log.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

I'm in the same boat.  We're using the Retrofit library, built on OKHttp, but Network Requests aren't being sent.  Our classes appear to be getting instrumented according the Instrumentation log generated at build time.  The beacons are being sent and crash reporting is working as well. 

Were you guys able to come to a resolution?

0 Karma

Chitra_Lal
Contributor

Not really Brian,

We were still waiting for the android application logs from customer to troubleshoot this further. Well ideally if you are on 4.3+ version of product including the mobile agent, it should work seemlesly ootb for Retrofit & any other OKhttp. 

 

Thanks,

Chitra

0 Karma
Get Updates on the Splunk Community!

Splunk Search APIを使えば調査過程が残せます

   このゲストブログは、JCOM株式会社の情報セキュリティ本部・専任部長である渡辺慎太郎氏によって執筆されました。 Note: This article is published in both Japanese ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...