Re-introduce App Insights request detail logging
See original GitHub issueWhen logging, the App Insights logger would look for an HttpRequest
attached to the current logging scope. This request was attached by the Functions host. We’d use that to log more interesting request details like StatusCode, UserAgent, etc. In v2, this has changed as there’s no guarantee that the Response has been written by the time the function execution has completed. That was leading to some tough scenarios.
In order to get tests running again, I’ve removed this behavior so we can take another look at how we scope the requests and the function invocations to see if we can get this to work more nicely.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:19 (13 by maintainers)
Top Results From Across the Web
Application Insights logging with .NET - Azure Monitor
In this article, you learn how to capture logs with Application Insights in .NET apps by using the Microsoft.Extensions.Logging.
Read more >Azure Application Insights Tutorial | Amazing telemetry service
Creating logging and performance tracking solution for your applications can be challenging, especially in multi-service cloud environment.
Read more >Explore .NET trace logs in Application Insights
Send diagnostic tracing logs for your ASP.NET/ASP.NET Core application from ILogger, NLog, log4Net, or System.Diagnostics.Trace to Azure ...
Read more >Azure Application Insights. Introduce and Practice - LAI TOCA
First you need create Application Insight resource for Azure portal under your subscription and get the instrumentation key. More detail ...
Read more >Monitor application via Application Insights and send alert
I always use Application Insights to monitor my Web applications. ... I can unify the alert for both Application Insights and Log Analytics....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This was committed with #4214 and is being released with https://github.com/Azure/azure-functions-host/releases/tag/v2.0.12408
https://github.com/Azure/azure-webjobs-sdk/pull/2073 seems to be take two of fixing this.