Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(n1-api-call): Properly parse sanitized span descriptions #46195

Merged
merged 2 commits into from
Mar 22, 2023

Conversation

gggritso
Copy link
Member

This is an FE aspect of #46187. For N+1 API Call performance issues, we need to parse the URLs and extract the query parameters. With newer SDK versions, the query parameters might be in a separate key in span data called http.query, rather than being appended to the description or the url key in span data. Related to getsentry/sentry-javascript#7206. Updates the URL parsing helper to anticipate this situation.

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Mar 22, 2023
@gggritso gggritso marked this pull request as ready for review March 22, 2023 17:32
@gggritso gggritso requested a review from a team as a code owner March 22, 2023 17:32
@gggritso gggritso requested a review from a team March 22, 2023 17:32
@gggritso gggritso merged commit 2d15c2b into master Mar 22, 2023
@gggritso gggritso deleted the fix/ggg/accommodate-span-url-sanitization-fe branch March 22, 2023 18:21
@github-actions github-actions bot locked and limited conversation to collaborators Apr 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants