How can we improve Application Insights?

Enable collecting POST parameters by configuration

When an exception happens and the details are captured on Application insight, it would be great if POST parameters were available as well.
This feature can be turned off for certain pages via configuration r even posting an extra parameter like Ignore Post Parameters.
This will make sure sensitive application data like login information is not captured.
This feature can only work when a http POST ends up with a 500 error to assist debugging application, to make sure huge data is not captured and never used.

29 votes
Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)

We’ll send you updates on this idea

Alex jacobs shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

1 comment

Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
Submitting...
  • Dan Petitt commented  ·   ·  Flag as inappropriate

    I do this by adding a custom ToString to
    my models so I don't include massive base64 data, for example, and then I 'trace' every request using a derived ApiController. This means when an exception occurs I can view the "trace for the exception" and see all the data I need to track and debug the issue

Feedback and Knowledge Base