Under the project i right clicked > Add > Add > Applications Sights Telemetry.... accepted all defaults (connection string was found) and pressed Finish.
Amended the Startup.cs and added
services.AddApplicationInsightsTelemetry();
In a controller i create a deliberate error which raises an exception but this is not being recorded in AI? I see frontend errors relating to missing files (deliberately deleted them) but anything to do with server side code that triggers an error isnt being recorded?
My json is as follows for serilog (not sure if relevant)
Application Insight logs not being recorded
Created a standard Umbraco 10 with all updates.
Install Microsoft.ApplicationInsights.AspNetCore.
Under the project i right clicked > Add > Add > Applications Sights Telemetry.... accepted all defaults (connection string was found) and pressed Finish.
Amended the
Startup.cs
and addedIn a controller i create a deliberate error which raises an exception but this is not being recorded in AI? I see frontend errors relating to missing files (deliberately deleted them) but anything to do with server side code that triggers an error isnt being recorded?
My json is as follows for serilog (not sure if relevant)
In finally have ApplicationInsights which contains the ConnectionString.
Is there something im missing to capture any controllers server side exceptions?
is working on a reply...