-
-
Notifications
You must be signed in to change notification settings - Fork 231
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
TTID and TTFD are not measured, due to timing issues #2274
Labels
Comments
hey! thanks for raising this, we'll have a look |
Could you reproduce the same without using |
but yes I was able to reproduce it using
For now I'd suggest not using |
@givip Can you also reproduce it if you provide void main() async {
await SentryFlutter.init(
(options) {
...
},
appRunner: () => runApp(
SentryDisplayWidget(
child: const MyApp(),
)
),
);
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Platform
Flutter Mobile
Obfuscation
Disabled
Debug Info
Enabled
Doctor
[✓] Flutter (Channel stable, 3.24.1, on macOS 14.3 23D56 darwin-arm64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.92.2)
[✓] Connected device (4 available)
[✓] Network resources
Version
8.8.0
Steps to Reproduce
Sometimes, due to timing issues, the transaction is not registered and consequently not sent to Sentry.
Videos, where repro captured:
Couple initial navigation events registered, but last one not. On screencast, you can see, that there is no message in console.
https://github.com/user-attachments/assets/e8b84e11-7ecb-4dea-8215-9130078469cf
https://github.com/user-attachments/assets/9888c394-f59e-4bf5-9e6f-1fc98d382e36
Minimal code, where I was able to reproduce the issue: https://github.com/givip/sentry_repro
This happens because sometimes method completeTracking() was called earlier than trackRegularRouteTTD()
Expected Result
All transactions should be registered
Actual Result
Sometimes, the transaction is not registered and consequently not sent to Sentry.
Are you willing to submit a PR?
No
The text was updated successfully, but these errors were encountered: