-
Notifications
You must be signed in to change notification settings - Fork 124
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
Bug 1932322 - Implement the new collection-enabled
API
#3006
Conversation
92c1809
to
bcff07a
Compare
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.
Lot's of little cleanup things, nothing major. I'd say this fits really well with my mental model of what this would look like from our discussions.
glean-core/android/src/test/java/mozilla/telemetry/glean/private/EventMetricTypeTest.kt
Outdated
Show resolved
Hide resolved
Also, docs/changelog/etc. ofc |
a85c48b
to
e2a05ff
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3006 +/- ##
=======================================
Coverage 29.54% 29.54%
=======================================
Files 1 1
Lines 44 44
=======================================
Hits 13 13
Misses 31 31 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
8467e92
to
005c96f
Compare
This effectively deprecates `set_upload_enabled`.
005c96f
to
ccac839
Compare
let pings_dir = self.get_pings_dir(data_path, None)?; | ||
|
||
std::fs::remove_dir_all(&pings_dir)?; | ||
create_dir_all(&pings_dir)?; | ||
// TODO(bug 1932909): Refactor this into its own function |
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.
❤️
Looks good to me, thanks for filing bugs for the TODOs! |
No data is recorded for unknown or disabled pings.
ccac839
to
38da568
Compare
This is the mega PR changing the inner workings of Glean to support
collection-enabled
andfollows-collection-enabled
on pings, to independently control a subset of pings and whether they can get submitted.BREAKING CHANGE: This is definitely a huge breaking change.
2024-11-21: This is not yet fully ready for review
Some docs (though I probably will split some out to followups)docs in Bug 1933679 - Docs for collection-enabled mode #3013follows_collection_enabled
for pings glean_parser#776 (and release and update glean-parser)