-
Notifications
You must be signed in to change notification settings - Fork 295
Description
Is your feature request related to a problem?
Currently, for my application, exception telemetry as reported in the portal.azure.com widget have unusably bad call stacks. 75% of all the lines in the call stack are taken up by internal calls in the compiler, making it very difficult to see what calls in my own application code are visible.
The callstack visible in ApplicationInsights is VERY DIFFERENT from the StackTrace property of the exception that was thrown, which is confusing in diagnosing problems. I find myself often copying over the callstack and editing it in a text editor just to be able to read it
Describe the solution you'd like.
It would be very convenient if in a TelemetryProcessor, it was possible to somehow edit the "Call Stack" field as seen in the portal.azure.com widget. Filter out lines of the frames that are not useful, etc.
Describe alternatives you've considered.
Creating new Exception Telemetry events from scratch in a processor. Does not seem to fully work for unknown reasons.
Using reflection to access internal/private classes and properties. The data is available in internal fields/properties, which I can see with my debugger, but editing them does not seem to work reliably.
Switching all my exception telemetry to Custom Events. Undesirable for obvious reasons, if easy.
Switching our entire tech stack to OpenTelemetry. Expensive.
Additional context.
It's a pretty sad state of affairs.