getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
37.57k stars 4.04k forks source link

Long query strings are truncated #72559

Open jeffpyke opened 1 month ago

jeffpyke commented 1 month ago

Problem Statement

I am using the Javascript SDK. I have an issue where Query Strings are being truncated when I view an issue in the web UI (was truncated from 612 to 596 characters). The get URI link on the web UI also uses the truncated query string including "..." so it is impossible to visit the original URL where the issue occurred. Viewing the raw issue as well shows the truncation. The maximum length doesn't appear to be reproducible or configurable. I do not want any of my query strings to be truncated.

Solution Brainstorm

Perhaps this could be accomplished by adding an option to increase the maximum length.

Product Area

Unknown

┆Issue is synchronized with this Jira Improvement by Unito

getsantry[bot] commented 1 month ago

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] commented 1 month ago

Routing to @getsentry/product-owners-issues for triage ⏲️

leeandher commented 1 month ago

Hi @jeffpyke, Thanks for writing in!

For stability purposes, Sentry will trim certain parts of your events if their size exceeds our preset thresholds. You can find a few of those limitations here which I think are the most applicable to your use case.

That said, if we are ingesting the full untrimmed query string and just trimming how its displayed in the UI, that is definitely something we can address. I can take a look if that's the case if you're able to provide a link to the Sentry Issue, or share a Project ID & Issue ID.

Unfortunately, if it is due to size limitations, that's not something we're going to be able to change.