How to track requests and exceptions within the Azure WebApp application

How to track requests and exceptions within the Azure WebApp application



We are using Application Insights SDK for our Azure WebApp application with Azure SQL Database and Azure Storage. Which Azure Service we can use to track time specific code requests and exceptions within the application?


Application Insights SDK


Azure WebApp






This does not answers your question, but you can see some log files in Kudu. Navigate to https://<your-webapp-name>.scm.azurewebsites.net to access Kudu for your app, then Debug Console > PowerShell > LogFiles. blogs.msdn.microsoft.com/benjaminperkins/2014/03/24/…

– Handsome Greg
Sep 6 '18 at 17:15







Could you explain what do you mean by time-specific code requests and exception from your OP ?

– Jayendran
Sep 7 '18 at 2:55




2 Answers
2



If you are already using Application Insights SDK, you can use it to track requests, exceptions, dependencies etc.
https://docs.microsoft.com/en-us/azure/application-insights/app-insights-asp-net



The application insights SDK provides many methods for logging, so you can use built-in method like TrackException, TrackTrace, Trackxxx to track. Details are here.



Thanks for contributing an answer to Stack Overflow!



But avoid



To learn more, see our tips on writing great answers.



Required, but never shown



Required, but never shown




By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.