Skip to content

Conversation

@Mrtenz
Copy link
Member

@Mrtenz Mrtenz commented Jul 1, 2025

This adds two methods, snap_startTrace and snap_endTrace, intended to hook into the performance tracing functionality of Sentry. They are essentially wrappers of the trace and endTrace functions in the clients.

@codecov
Copy link

codecov bot commented Jul 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.25%. Comparing base (9ef5f0f) to head (ee25151).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3519   +/-   ##
=======================================
  Coverage   98.24%   98.25%           
=======================================
  Files         408      410    +2     
  Lines       11537    11583   +46     
  Branches     1797     1801    +4     
=======================================
+ Hits        11335    11381   +46     
  Misses        202      202           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Mrtenz Mrtenz changed the title Add snap_startTrace and snap_endTrace methods for performance tracing feat: Add snap_startTrace and snap_endTrace methods for performance tracing Jul 1, 2025
@Mrtenz Mrtenz force-pushed the mrtenz/performance-tracing branch from 7b2785e to 81cf0b1 Compare July 2, 2025 09:51
@Mrtenz Mrtenz marked this pull request as ready for review July 2, 2025 12:05
@Mrtenz Mrtenz requested a review from a team as a code owner July 2, 2025 12:05
@Mrtenz Mrtenz force-pushed the mrtenz/performance-tracing branch from 81cf0b1 to 4f95cb5 Compare July 2, 2025 12:05
cursor[bot]

This comment was marked as outdated.

});
}

case 'startTrace':
Copy link
Member

Choose a reason for hiding this comment

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

Not for this PR, but we should add the metrics method to this Snap too so we can test it all

cursor[bot]

This comment was marked as outdated.

@Mrtenz Mrtenz enabled auto-merge July 2, 2025 12:18
@Mrtenz Mrtenz added this pull request to the merge queue Jul 2, 2025
Merged via the queue into main with commit a47bb43 Jul 2, 2025
120 checks passed
@Mrtenz Mrtenz deleted the mrtenz/performance-tracing branch July 2, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants