feat: add support for multiple issue types with n+1 performance issues#23
Merged
feat: add support for multiple issue types with n+1 performance issues#23
Conversation
Extend the error generator to support multiple Sentry issue types beyond errors. Adds an issue type selector with Error and Performance options (user feedback and dead clicks shown as coming soon). The Performance issue type generates N+1 API call detection by making parallel GET requests to a target endpoint and sending the transaction envelope directly to Sentry's API. This allows testing performance issue detection in any Sentry project via DSN. New files: - Issue type definitions and configs - Performance target endpoint with configurable delay - Issue type selector and performance fields components Config storage includes backwards-compatible migration for existing saved configurations. Co-Authored-By: Claude <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| const id = searchParams.get('id') || '0'; | ||
|
|
||
| const clampedDelay = Math.min(Math.max(delay, 0), 5000); | ||
| await new Promise((resolve) => setTimeout(resolve, clampedDelay)); |
Check failure
Code scanning / CodeQL
Resource exhaustion High
Copilot Autofix
AI about 1 month ago
Copilot could not generate an autofix suggestion
Copilot could not generate an autofix suggestion for this alert. Try pushing a new commit or if the problem persists contact support.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extend the error generator to support multiple Sentry issue types beyond errors. This adds an issue type selector with Error and Performance options (user feedback and dead clicks shown as coming soon).
The Performance issue type generates N+1 API call detection by making parallel GET requests to a target endpoint and sending the transaction envelope directly to Sentry's API. This allows testing performance issue detection in any Sentry project via DSN.
Changes:
The N+1 detection follows Sentry's requirements: minimum 10 parallel GET requests with
http.clientspans within aui.actiontransaction.