Reputation: 16266
I'm using application insights for saving some errors data have attach some data, and one of the fields is the trace of the code (converted to string). My problem is sometimes the string is biggest that the 1024 chars permitted by aplication insights.
Error: Uncaught trackEvent failed, event will not be collected: [object String]"string value is too long. It has been truncated to 1024 characters.
[Edit] Even there is no way to send more than 1024 chars, i wanna know if there a way to "get a compact trace of code" for not pass the limit
Upvotes: 1
Views: 779
Reputation: 1900
This limit cannot be overridden. There are checks both on the client side and server side and if event does not meet number of rules it is dropped.
Upvotes: 2