-
Notifications
You must be signed in to change notification settings - Fork 625
Fireperf fragments: trace creation and adding custom attributes #3575
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
Coverage Report 1Affected ProductsNo changes between base commit (6a42873) and merge commit (e85d838).Test Logs
Notes
|
Size Report 1Affected Products
Test Logs
Notes
|
firebase-perf/src/test/java/com/google/firebase/perf/application/FragmentStateMonitorTest.java
Show resolved
Hide resolved
firebase-perf/src/main/java/com/google/firebase/perf/application/FragmentStateMonitor.java
Show resolved
Hide resolved
|
||
private long currentTime = 0; | ||
private static final String longFragmentName = | ||
"_st_NeverGonnaGiveYouUpNeverGonnaLetYouDownNeverGonnaRunAroundAndDesertYouNeverGonnaMakeYouCryNeverGonnaSayGoodbyeNeverGonnaTellALieAndHurtYou"; |
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 like this super long name :)
firebase-perf/src/test/java/com/google/firebase/perf/application/FragmentStateMonitorTest.java
Show resolved
Hide resolved
firebase-perf/src/test/java/com/google/firebase/perf/application/FragmentStateMonitorTest.java
Show resolved
Hide resolved
firebase-perf/src/main/java/com/google/firebase/perf/application/AppStateMonitor.java
Show resolved
Hide resolved
firebase-perf/src/main/java/com/google/firebase/perf/application/FragmentStateMonitor.java
Outdated
Show resolved
Hide resolved
@leotianlizhan: The following test failed, say
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
* Add fragment trace sampling rate config flag (#3546) * Fireperf: fragment lifecycle callbacks (#3565) * onResume and onPause * copyright * rename to * more specific language * Fireperf fragments: trace creation and adding custom attributes (#3575) * implementation * test * gjf * ebugfix * copyright * add tests * long name test * fix test * change error to warn message * Fix hasFrameMetricsAggregator's value not being set. * Fix googleJavaFormat error * Add frame metrics to fragment traces (#3592) * Add frame metrics to fragment traces. * Fix AppStateMonitor.java * Rename FrameMetrics to PerfFrameMetrics * Fix screen trace logging by printing the trace name. (#3599) * Fireperf fragments: sampling (#3588) * ssample fragment after trace already sampled * gjf * tests and qol for immutable bundle * test names and revert getFloat * fragment-sampling * fix test * separate bucketId checkArguments * Fireperf fragments eap: change version number (#3604) * change version number * changelog * changelog edit * Update the gradle properties to match the EAP release branch (#3606) * Update the gradle properties to match the release branch * Revert ktx gradle properties * default no0 sampling rate * gradle.properties revert * gradle.properties revert 2 * fix unit tests * review Co-authored-by: Visu <[email protected]> Co-authored-by: Leo Zhan <[email protected]>
b/208271842
Currently there's a validation error:
This is due to no frame metrics for the "total_frames" validation check, because we have not implemented that yet.