Ricardo Rocha
Ricardo Rocha

Reputation: 16266

Application Insights Saving javascript Trace

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

Answers (1)

Anastasia Black
Anastasia Black

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

Related Questions