-
-
Notifications
You must be signed in to change notification settings - Fork 277
Feat: Auto transactions duration trimming #702
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
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #702 +/- ##
==========================================
+ Coverage 90.67% 90.70% +0.02%
==========================================
Files 104 104
Lines 3326 3335 +9
==========================================
+ Hits 3016 3025 +9
Misses 310 310 ☔ View full report in Codecov by Sentry. |
|
@denrase we could also describe this behaviour in the docs https://docs.sentry.io/platforms/flutter/performance/instrumentation/automatic-instrumentation/#routing-instumentation |
|
@brustolin would you like to review this one? we might need something similar on iOS soon, thanks. |
brustolin
left a comment
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.
LGTM
|
@denrase there are conflicts other than that, all good. |
# Conflicts: # flutter/lib/src/navigation/sentry_navigator_observer.dart # flutter/test/sentry_navigator_observer_test.dart
📜 Description
Introduce option to trim end of
Tracerroot span to last child span.💡 Motivation and Context
Automatic transactions from the
SentryNavigatorare always run for a fixed time, even though child spans might finish much sooner. With this PR, the longest running child span will also mark the end for the overall transaction.Closes #668
💚 How did you test it?
Added unit tests.
📝 Checklist
🔮 Next steps