-
Notifications
You must be signed in to change notification settings - Fork 76
RUM-13075: Do not send TTID and TTFD vitals if they are too large #3031
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
base: aleksandr-gringauz/feature/app-launch-vitals
Are you sure you want to change the base?
Conversation
36f6fe1 to
46cb7bc
Compare
|
🎯 Code Coverage 🔗 Commit SHA: 46cb7bc | Docs | Datadog PR Page | Was this helpful? Give us feedback! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## aleksandr-gringauz/feature/app-launch-vitals #3031 +/- ##
================================================================================
+ Coverage 71.24% 71.29% +0.05%
================================================================================
Files 861 861
Lines 31659 31684 +25
Branches 5327 5329 +2
================================================================================
+ Hits 22555 22589 +34
+ Misses 7587 7584 -3
+ Partials 1517 1511 -6
🚀 New features to boost your workflow:
|
|
|
||
| internal const val TTFD_TOO_LARGE_MESSAGE = "TTFD value is too large, skipping it" | ||
|
|
||
| internal val MAX_TTID_DURATION_NS: Long = 1.minutes.inWholeNanoseconds |
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.
These thresholds for TTID and TTFD are aligned with iOS https://github.com/DataDog/dd-sdk-ios/blob/bbbab7f42f2acd69b2cd37e1ba8203ca33a2b3d0/DatadogRUM/Sources/RUMMonitor/Scopes/RUMAppLaunchManager.swift#L13
| ) { | ||
| ttidReportedForScenario = true | ||
|
|
||
| rumAppStartupTelemetryReporter.reportTTID( |
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.
We are still sending ttid telemetry event with a large duration. We want to be able to investigate these cases.
|
Why to not filter them out on back-end in order to have more flexibility in future? |
What does this PR do?
See description in the linked ticket (RUM-13075).
Also decided to do the same thing for TTFD (not send vital event that has a duration greater than a certain threshold).
Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?
Review checklist (to be filled by reviewers)