WorryFree Computers   »   [go: up one dir, main page]

Skip to content
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

New class and methods to implement bulk custom key/value logging. #2443

Merged
merged 43 commits into from
Feb 25, 2021

Conversation

elenadoty
Copy link
Contributor

Bulk key/value logging reduces the computational overhead of logging multiple custom keys and values all at once by caching all pairs at once rather than individually.

@googlebot googlebot added the cla: yes Override cla label Feb 16, 2021
@google-oss-bot
Copy link
Contributor
google-oss-bot commented Feb 16, 2021

Coverage Report

Affected SDKs

  • firebase-crashlytics

    SDK overall coverage did not change between base commit (f56a977) and head commit (3edf992a). However there are changes in individual files.

    Filename Base (f56a977) Head (3edf992a) Diff
    CustomKeysAndValues.java ? 0.00% ?

Test Logs

Notes

HTML coverage reports can be produced locally with ./gradlew <product>:checkCoverage.
Report files are located at <product-build-dir>/reports/jacoco/.

Head commit (3edf992a) is created by Prow via merging commits: f56a977 904ff7e.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-crashlytics:
error: Added class com.google.firebase.crashlytics.CustomKeysAndValues [AddedClass]
error: Removed method com.google.firebase.crashlytics.FirebaseCrashlytics.setCustomKeys(CustomKeysAndValues) [RemovedMethod]
error: Added method com.google.firebase.crashlytics.FirebaseCrashlytics.setCustomKeys(com.google.firebase.crashlytics.CustomKeysAndValues) [AddedMethod]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor
google-oss-bot commented Feb 16, 2021

Binary Size Report

Affected SDKs

  • firebase-crashlytics

    Type Base (f56a977) Head (3edf992a) Diff
    aar 322 kB 325 kB +3.16 kB (+1.0%)
    apk (aggressive) 192 kB 192 kB -24 B (-0.0%)
    apk (release) 817 kB 818 kB +756 B (+0.1%)

Test Logs

Notes

Head commit (3edf992a) is created by Prow via merging commits: f56a977 904ff7e.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-crashlytics:
error: Added class com.google.firebase.crashlytics.CustomKeysAndValues [AddedClass]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-crashlytics:
error: Added class com.google.firebase.crashlytics.CustomKeysAndValues [AddedClass]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@elenadoty
Copy link
Contributor Author

/retest

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-crashlytics:
error: Added class com.google.firebase.crashlytics.CustomKeysAndValues [AddedClass]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

1 similar comment
@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-crashlytics:
error: Added class com.google.firebase.crashlytics.CustomKeysAndValues [AddedClass]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-crashlytics:
error: Added class com.google.firebase.crashlytics.CustomKeysAndValues [AddedClass]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-crashlytics:
error: Added class com.google.firebase.crashlytics.CustomKeysAndValues [AddedClass]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-crashlytics:
error: Added class com.google.firebase.crashlytics.CustomKeysAndValues [AddedClass]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

}

@NonNull
public Map<String, String> getCustomValues() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to keep this private from customers?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, I don't think we should have a getter here, since we don't have a getter for the single-value case (also there wasn't one in the API review).

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-crashlytics:
error: Removed method com.google.firebase.crashlytics.CustomKeysAndValues.getCustomValues() [RemovedMethod]
error: Added field com.google.firebase.crashlytics.CustomKeysAndValues.keysAndValues [AddedField]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-crashlytics:
error: Added field com.google.firebase.crashlytics.CustomKeysAndValues.keysAndValues [AddedField]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-crashlytics:
error: Field com.google.firebase.crashlytics.CustomKeysAndValues.keysAndValues changed visibility from protected to public [ChangedScope]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@google-oss-bot
Copy link
Contributor

The public api surface has changed for the subproject firebase-crashlytics:
error: Removed constructor com.google.firebase.crashlytics.CustomKeysAndValues(com.google.firebase.crashlytics.CustomKeysAndValues.Builder) [RemovedMethod]
error: Removed field com.google.firebase.crashlytics.CustomKeysAndValues.keysAndValues [RemovedField]

Please update the api.txt files for the subprojects being affected by this change by running ./gradlew ${subproject}:generateApiTxtFile. Also perform a major/minor bump accordingly.

@elenadoty
Copy link
Contributor Author

/retest

@elenadoty elenadoty merged commit f394bd4 into master Feb 25, 2021
@elenadoty elenadoty deleted the bulk_kv branch February 25, 2021 18:14
@firebase firebase locked and limited conversation to collaborators Mar 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Override cla size/L
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants