Skip to content

Add fragment trace sampling rate config flag #3546

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

Merged
merged 7 commits into from
Mar 17, 2022

Conversation

visumickey
Copy link
Contributor

A new flag is added for fragment trace sampling flag. This flag is fetched from remote config, but overridable from the manifest file.

@visumickey
Copy link
Contributor Author

/retest all

@visumickey
Copy link
Contributor Author

/retest

1 similar comment
@rlazo
Copy link
Collaborator

rlazo commented Mar 16, 2022

/retest

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Mar 16, 2022

Coverage Report 1

Affected Products

  • firebase-perf

    Overall coverage changed from 70.84% (f73d432) to 70.94% (70a3487) by +0.10%.

    FilenameBase (f73d432)Merge (70a3487)Diff
    ConfigResolver.java97.23%97.38%+0.15%
    ConfigurationConstants.java99.21%99.25%+0.04%

Test Logs

Notes

  • Commit (70a3487) is created by Prow via merging PR base commit (f73d432) and head commit (611d8eb).
  • Run gradle <product>:checkCoverage to produce HTML coverage reports locally. After gradle commands finished, report files can be found under <product-build-dir>/reports/jacoco/.

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/GsBAojMITD.html

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Mar 16, 2022

Size Report 1

Affected Products

  • firebase-perf

    TypeBase (f73d432)Merge (70a3487)Diff
    aar302 kB303 kB+863 B (+0.3%)
    apk (release)2.46 MB2.46 MB+484 B (+0.0%)

Test Logs

Notes

  • Commit (70a3487) is created by Prow via merging PR base commit (f73d432) and head commit (611d8eb).

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/a8qI0m1fKu.html

@visumickey visumickey changed the base branch from master to perfFragmentsEAP March 17, 2022 18:57
@google-oss-bot
Copy link
Contributor

@visumickey: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
smoke-tests 611d8eb link /test smoke-tests

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.

@visumickey visumickey merged commit 23d1a5e into perfFragmentsEAP Mar 17, 2022
@visumickey visumickey deleted the perfAddFragmentSamplingRateConfig branch March 17, 2022 19:19
leotianlizhan added a commit that referenced this pull request Apr 7, 2022
* 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]>
@firebase firebase locked and limited conversation to collaborators Apr 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants