Skip to content

Conversation

@roaga
Copy link
Member

@roaga roaga commented Nov 21, 2025

Adds trace id as an extra optional filter to narrow down results, since profiler ids can span multiple traces.

@roaga roaga requested a review from aliu39 November 21, 2025 16:26
@roaga roaga requested a review from a team as a code owner November 21, 2025 16:26
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Nov 21, 2025
@codecov
Copy link

codecov bot commented Nov 21, 2025

Codecov Report

❌ Patch coverage is 60.00000% with 4 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/sentry/seer/explorer/tools.py 66.66% 3 Missing ⚠️
src/sentry/seer/explorer/utils.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master   #103818      +/-   ##
===========================================
- Coverage   80.61%    80.61%   -0.01%     
===========================================
  Files        9274      9281       +7     
  Lines      396025    396234     +209     
  Branches    25250     25250              
===========================================
+ Hits       319274    319409     +135     
- Misses      76291     76365      +74     
  Partials      460       460              

selected_thread_id = max(thread_in_app_counts.items(), key=lambda x: x[1])[0]
show_all_frames = False
else:
# No in_app frames found, try to find MainThread
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to include these changes? Whats it for

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah just decided that we shouldn't be sending system-code profiles in any case (reverting recent change)

@roaga roaga merged commit c93fde5 into master Nov 22, 2025
66 checks passed
@roaga roaga deleted the explorer/trace-id-for-profiles branch November 22, 2025 23:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants