-
Notifications
You must be signed in to change notification settings - Fork 499
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
Fixes #4340: Introduces Performance Metrics logging #4462
Conversation
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.
Thanks @Sarthak2601! This is looking really good. Just had a few comments mainly on new code--PTAL.
...src/sharedTest/java/org/oppia/android/app/topic/questionplayer/QuestionPlayerActivityTest.kt
Show resolved
Hide resolved
scripts/src/java/org/oppia/android/scripts/proto/file_content_validation_checks.proto
Outdated
Show resolved
Hide resolved
scripts/src/java/org/oppia/android/scripts/regex/RegexPatternValidationCheck.kt
Outdated
Show resolved
Hide resolved
scripts/src/javatests/org/oppia/android/scripts/regex/RegexPatternValidationCheckTest.kt
Outdated
Show resolved
Hide resolved
utility/src/test/java/org/oppia/android/util/logging/EventBundleCreatorTest.kt
Outdated
Show resolved
Hide resolved
utility/src/test/java/org/oppia/android/util/logging/EventBundleCreatorTest.kt
Outdated
Show resolved
Hide resolved
utility/src/main/java/org/oppia/android/util/logging/CurrentAppScreenNameIntentDecorator.kt
Outdated
Show resolved
Hide resolved
...rc/test/java/org/oppia/android/domain/oppialogger/analytics/ActivityLifecycleObserverTest.kt
Outdated
Show resolved
Hide resolved
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.
Thanks @Sarthak2601! Only have nits left, otherwise the PR LGTM. Feel free to self-resolve the remaining comments once addressed.
scripts/src/javatests/org/oppia/android/scripts/regex/RegexPatternValidationCheckTest.kt
Outdated
Show resolved
Hide resolved
scripts/src/javatests/org/oppia/android/scripts/regex/RegexPatternValidationCheckTest.kt
Outdated
Show resolved
Hide resolved
scripts/src/javatests/org/oppia/android/scripts/regex/RegexPatternValidationCheckTest.kt
Outdated
Show resolved
Hide resolved
Hi @Sarthak2601, this PR is ready to be merged. Please address any remaining comments prior to merging, and feel free to merge this PR once the CI checks pass and you're happy with it. Thanks! |
Explanation
Fixes #4340
Introduces performance metrics logging at application startup and via background workers.
Things to note:
I've moved apk size logging and storage usage logging from PerformanceMetricsLogger to the new ActivityLifecycleObserver. This means that the new observer is logging all app startup metrics from one place.
Essential Checklist