Missing "Open Debug Trace" button for Snapshot Debugger
Gnol-VN opened this issue · 2 comments
I am Long from Office division.
My team is exploring Snapshot Debugger. I tried to install it, but cannot download the snapshot. The button "Open Debug Trace" is missing my portal.
Target: I want to download the snapshot
My stack: Appservice for Windows, Net6
I installed these 2 Nugets: "Microsoft.ApplicationInsights.AspNetCore" Version="2.20.0"
, "Microsoft.ApplicationInsights.SnapshotCollector" Version="1.4.2"
I have services.AddSnapshotCollector((configuration) => Configuration.Bind(nameof(SnapshotCollectorConfiguration), configuration));
in Startup.cs
I could get exception logged to Application Insights, so I dont have problem with AAD auth.
My settings are followed:
@renatosalas FYI. I asked Long to contact us via email.
Issue was resolved offline via email.
Summary:
- [It is not supported] When Snapshot Collector was configured using its SDK in the customer application and the "Interop" feature was enabled, the local Application Insights SDK telemetry will be lost (therefore Snapshot telemetry as well, since it is attached to the local SDK) in favor for the codeless/ILRepack Application Insights SDK.
Note: If you configured Application Insights SDK and Snapshot Collector SDK on your app (csproj, Startup.cs), then, it is not recommended to enable "Interop" feature; local telemetry will be lost.
Resolution:
After turning off the "Interop" feature from the Azure Portal, Snapshot Collector started working as expected for the customer.