简体   繁体   中英

Is there an option to log full stacktrace in an Azure web app?

I have an Azure web app hosted. I have turned on Application Insights but it doesnt give full details any exceptions or errors. Is there an option in Application Insights i can use to log the full stack trace, so i can debug where in the code any error may have occurred?

By default, Application Insights can handle all types of Application telemetry.

Application Insights Monitors below telemetry data

  • Dependency rates , Request/response times , and Failure rates of your applications.

  • Exceptions Analyze the aggregated statistics, or pick specific instances and drill into the stack trace and related requests. Application Insights reports both server and browser exceptions.

  • Pageviews and load performance reported by users' browsers

  • AJAX calls from web pages, including rates, response times, and failure rates

  • User and session counts

  • Performance counters such as CPU, memory, and.network usage

  • Host diagnostics from Docker or Azure

  • Diagnostic trace logs from apps, correlate trace events with requests

  • Custom events and metrics in client or server code that track business events.

Where to see Application insights data

Azure portal -> Application Insights -> Investigate Section (Failures, Transaction Search, etc.)/ Monitoring Section (Logs Analytics, Alert, Metrics, etc.)

在此处输入图像描述

You can see the full stack trace in End-to-End Transaction Details .

在此处输入图像描述

Refer here for more information

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM