trackException not passing properties
See original GitHub issueWhen calling:
AppInsights.trackException(error, 'notused', { 'action': 'mytestaction' } );
The error is tracked, but the properties do not get passed through. The ‘properties’ element in the track call is always empty.
All other tracking works, including passing custom properties.
Using version 1.0.18 in an Angular 6 application.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
trackException not passing properties · Issue #623 - GitHub
The error is tracked, but the properties do not get passed through. The 'properties' element in the track call is always empty. All...
Read more >Why is Application Insights TrackException not logging ...
Whenever I run this code only an event is logged but none of the exceptions are.
Read more >Track custom operations with Application Insights .NET SDK
On a high level, the task is to create RequestTelemetry and set known properties. After the operation is finished, you track the telemetry....
Read more >Implementing Monitoring in React Using AppInsights
Monitoring of SPA's is important, so let's look at how to do that in a React app using AppInsights.
Read more >Adding Application Insights Logging to your code
There are three methods of interest: TrackEvent, TrackException and ... Application Insights provides a mechanism to pass properties along ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Found it. My telemetry initializer was resetting the properties. I had assumed that the two property bags, one from the initialiser and one from the trackException call, were merged. Now that I understand that they are the same bag I don’t reset the properties in the initialiser, I just add additional properties.
Sorry for leading down the wrong path. Thanks for the help debugging!
Glenn.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.