Debug .NET Apps in Production with the Snapshot Debugger in Application Insights

Sign in to queue

Description

Dan Taylor joins Scott Hanselman to talk about how the Snapshot Debugger in Application Insights can help you identify the root cause of issues in your production environment without having to repro them locally. Dan shows how by adding the Microsoft.ApplicationInsights.SnapshotCollector NuGet package to your app, you can get view full-process snapshots containing local variables the moment exceptions are thrown in production.

For more information, see:

Tag:

Azure

Embed

Download

The Discussion

  • User profile image
    DilipDodiya

    Wonderful. This is really cool feature to debug and fix the issue.

  • User profile image
    nibras85

    Really useful feature. Thank you guys!

  • User profile image
    Oren23

    Could there be adverse security implications of using this feature e.g storing full stack trace in the cloud?

  • User profile image
    dantaylo

    @Oren23: great question. There could be potentially PII or sensitive information contained in the Snapshots, so this is something to be aware of if your service handles sensitive information.

    For this reason we encrypt the snapshots both in transit and at rest, and viewing Snapshots is protected by RBAC (role based access control) and audited. The subscription owner must explicitly allow access for users to view snapshots by granting the "Application Insights Snapshot Debugger" role to users.

    Hope that helps answer your question!

     

  • User profile image
    David H

    Anyone takes a snapshot of me and I will sue the * out of u then will go looking

Add Your 2 Cents