-
-
Notifications
You must be signed in to change notification settings - Fork 536
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
Remove the deprecated sentry tracing extension #3672
Remove the deprecated sentry tracing extension #3672
Conversation
Reviewer's Guide by SourceryThis pull request removes the deprecated Class diagram for the removal of SentryTracingExtensionclassDiagram
class TracingExtensions {
+ApolloTracingExtension
+ApolloTracingExtensionSync
+DatadogTracingExtension
+DatadogTracingExtensionSync
+OpenTelemetryExtension
+OpenTelemetryExtensionSync
}
%% Removed classes
class SentryTracingExtension {
- Removed
}
class SentryTracingExtensionSync {
- Removed
}
note for SentryTracingExtension "This class was removed in favor of the official Sentry SDK integration."
note for SentryTracingExtensionSync "This class was removed in favor of the official Sentry SDK integration."
File-Level Changes
Assessment against linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @DoctorJohn - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟡 Documentation: 1 issue found
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Thanks for adding the Here's a preview of the changelog: After a year-long deprecation period, the To migrate, remove the Here's the tweet text:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3672 +/- ##
==========================================
- Coverage 96.70% 96.70% -0.01%
==========================================
Files 503 500 -3
Lines 33457 33400 -57
Branches 5618 5601 -17
==========================================
- Hits 32355 32299 -56
- Misses 880 881 +1
+ Partials 222 220 -2
|
c885868
to
e76e43c
Compare
CodSpeed Performance ReportMerging #3672 will not alter performanceComparing Summary
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a simple man. I see deprecated code being removed, I approve
Btw, any reason to why the |
🤭 fair enough. Still waiting for Sentry to address my PR preparing the Sentry SDK for this change.
Looks like the Tweet was considered too long. Only figured that out by running the action locally and removing random words from the TWEET file lol. Edit: CI still fails but the check passes locally, nice. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
Description
After a one-year deprecation period, this PR removes the
SentryTracingExtension
provided by Strawberry in favor of the official Sentry SDK integration.We might need to coordinate this with Sentry. It looks like their integration will assume Strawberry is not installed at all when our (deprecated) extensions cannot be imported:
https://github.com/getsentry/sentry-python/blob/1e73ce9fa12ea04250a708c14531d94827501a1d/sentry_sdk/integrations/strawberry.py#L28-L39
I created an upstream PR addressing this: getsentry/sentry-python#3649
Issues Fixed or Closed by This PR
strawberry.extensions.tracing.sentry
will be impossible to import withsentry-sdk>=3.0.0
#3590Summary by Sourcery
Remove the deprecated SentryTracingExtension in favor of the official Sentry SDK integration after a one-year deprecation period. Update documentation and remove related tests and files.
Documentation:
Tests:
Chores: