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

chore: add Sentry transaction monitoring to formatting #623

Merged
merged 3 commits into from
Jan 8, 2025

Conversation

kanej
Copy link
Member

@kanej kanej commented Jan 8, 2025

Formatting has moved to the server side. We have added Sentry transaction monitoring to the top level onDocumentFormatting call.

There are separate subspans on the Sentry transaction for Forge and Prettier.

Resolves #622.

Formatting has moved to the server side. We have added Sentry
transaction monitoring to the top level `onDocumentFormatting` call.

There are separate subspans on the Sentry transaction for Forge and
Prettier.

Resolves #622.
@kanej kanej requested a review from antico5 January 8, 2025 12:25
@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Jan 8, 2025
We should run under Node 20 as that is the version currently used by
VSCode.
Copy link

codecov bot commented Jan 8, 2025

Codecov Report

Attention: Patch coverage is 0% with 27 lines in your changes missing coverage. Please review.

Project coverage is 54.52%. Comparing base (ae3f33b) to head (8e43a1c).
Report is 3 commits behind head on development.

Files with missing lines Patch % Lines
...er/src/services/formatting/onDocumentFormatting.ts 0.00% 27 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff               @@
##           development     #623      +/-   ##
===============================================
- Coverage        54.64%   54.52%   -0.12%     
===============================================
  Files              226      226              
  Lines             5188     5199      +11     
  Branches           800      800              
===============================================
  Hits              2835     2835              
- Misses            2116     2127      +11     
  Partials           237      237              

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

@kanej
Copy link
Member Author

kanej commented Jan 8, 2025

@codecov [skip ci] We have added telemetry but not changed the tests.

Copy link
Collaborator

@antico5 antico5 left a comment

Choose a reason for hiding this comment

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

lgtm 👍

@kanej kanej force-pushed the chore/add-sentry-to-formatting branch 6 times, most recently from d526458 to 9842fde Compare January 8, 2025 14:29
@kanej kanej force-pushed the chore/add-sentry-to-formatting branch from 9842fde to 8e43a1c Compare January 8, 2025 14:52
@kanej kanej merged commit ee9b6b6 into development Jan 8, 2025
5 checks passed
@kanej kanej deleted the chore/add-sentry-to-formatting branch January 8, 2025 14:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Sentry tracking to formatting
2 participants