End User Monitoring (EUM)

cancel
Showing results for 
Search instead for 
Did you mean: 

Network requests are not logged on dashboard from Xamarin.IOS Application

Highlighted
Explorer

Hello! I have done everything according to Instruction regarding to setting up Xamarin iOS application and tracking server response (link), but all what I can see are "App opens per minute" and "Opens origin" and Exceptions occcured in the app. Any request call is not visible.

 

Do you have some ideas what it may be?

Also if I attaching headers to the requests do I need to handle them somehow on backend?

 

Thanks.

Network requests are not logged on dashboard from Xamarin.IOS Application
2 REPLIES 2
Highlighted
AppDynamics Team

Hi Oleh,

 

Have you instrumented your app to report the network requests? The Xamarin Agent does not provides automatic instrumentation at the moment, it is only possible via API. Please refer to the below doc link for more clarity:

 

https://docs.appdynamics.com/display/PRO45/Customize+the+Xamarin+Instrumentation 

 

Hope this helps.

 

 

Thank You,

Chitra



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Highlighted
Explorer

Yes, I have added to tracker to the code. Here is snippet how I do this:

 var tracker = HTTPRequestTracker.Create(uri);

foreach (var header in ServerCorrelationHeaders.Generate)
            {
                foreach (var value in header.Value)
                {
                    client.DefaultRequestHeaders.Add(header.Key, value);
                }
            }
   if (response != null)
                {
                    tracker.ResponseCode = (int)response.StatusCode;
                    tracker.StatusLine = response.ReasonPhrase;
                    tracker.ResponseHeaderFields = response.Headers;
                }
tracker.ReportDone();

Seems like in example. May it be the issue with our server? Do it need to handle those headers somehow?