-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[DOCS-9915] Mobile App Performance updates for iOS and Android #27404
[DOCS-9915] Mobile App Performance updates for iOS and Android #27404
Conversation
created DOCS-9990 to track |
content/en/real_user_monitoring/mobile_and_tv_monitoring/android/data_collected.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/android/data_collected.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/android/monitoring_app_performance.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/ios/monitoring_app_performance.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/ios/monitoring_app_performance.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/android/advanced_configuration.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/ios/monitoring_app_performance.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/ios/monitoring_app_performance.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/android/advanced_configuration.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Maciek Grzybowski <[email protected]>
content/en/real_user_monitoring/mobile_and_tv_monitoring/android/advanced_configuration.md
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/android/advanced_configuration.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/android/advanced_configuration.md
Show resolved
Hide resolved
…thub.com:DataDog/documentation into rtrieu/docs-9915-new-mobile-app-performance-page
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.
This looks good to me! Just some small edits.
content/en/real_user_monitoring/mobile_and_tv_monitoring/android/data_collected.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/android/data_collected.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/android/monitoring_app_performance.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/android/monitoring_app_performance.md
Outdated
Show resolved
Hide resolved
All view timings are measured relative to the view's start. The exact moment a view starts depends on the type of instrumentation used for tracking views. For more details, see [Views instrumentation versus app lifecycle][2]. | ||
|
||
## Troubleshooting | ||
When using the default TimeBasedInitialResourceIdentifier and TimeBasedInteractionIdentifier, TNS and INV timings may be missing in specific cases: |
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.
When using the default TimeBasedInitialResourceIdentifier and TimeBasedInteractionIdentifier, TNS and INV timings may be missing in specific cases: | |
When using the default `TimeBasedInitialResourceIdentifier` and `TimeBasedInteractionIdentifier`, TNS and INV timings may be missing in specific cases: |
content/en/real_user_monitoring/mobile_and_tv_monitoring/ios/monitoring_app_performance.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/ios/monitoring_app_performance.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/ios/monitoring_app_performance.md
Outdated
Show resolved
Hide resolved
**SwiftUI Views**: When [tracking SwiftUI views][4] with the `.trackRUMView(name:)` view modifier, RUM starts the view at the `onAppear(perform:)` callback and stops it at `onDisappear(perform:)`. | ||
**Manual View Tracking**: When tracking views manually using `RUMMonitor` APIs, the view starts precisely when you call the `startView(...)` method and stops when you call the `stopView()` method. | ||
|
||
When the application leaves the foreground, RUM automatically stops the current view, leaving no active view. Since RUM's data model requires an active view to track other events, by default, all events tracked in the background are skipped due to the absence of a view. To capture these events instead, see the [Track Background Events][5]. |
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.
The "Track Background Events" link seems to be wrong. Should it be going to: https://docs-staging.datadoghq.com/rtrieu/docs-9915-new-mobile-app-performance-page/real_user_monitoring/mobile_and_tv_monitoring/ios/advanced_configuration/?tab=swift#track-background-events
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 going to approve so I don't block this merge. If you need me to review anything again, just let me know!
Co-authored-by: May Lee <[email protected]>
Co-authored-by: May Lee <[email protected]>
content/en/real_user_monitoring/mobile_and_tv_monitoring/ios/data_collected.md
Outdated
Show resolved
Hide resolved
content/en/real_user_monitoring/mobile_and_tv_monitoring/ios/monitoring_app_performance.md
Outdated
Show resolved
Hide resolved
…onitoring_app_performance.md
/merge |
Devflow running:
|
What does this PR do? What is the motivation?
For both iOS and Android SDK:
Merge instructions
Merge readiness:
Merge queue is enabled in this repo. To have it automatically merged after it receives the required reviews, create the PR (from a branch that follows the
<yourname>/description
naming convention) and then add the following PR comment:Additional notes
Needs a review from Eng before merging.