Add Kotlin and Swift smoke tests for labeled_{custom|memory|timing}_distribution APIs
Categories
(Data Platform and Tools :: Glean: SDK, task, P2)
Tracking
(Not tracked)
People
(Reporter: chutten, Assigned: janerik)
References
Details
Attachments
(2 external files)
Though Kotlin and Swift do not support metrics of type labeled_*_distribution (yet), we did need to add APIs for those languages in bug 1657947. This bug is about writing smoke tests (e.g. in LabeledMetricTypeTest.kt) to ensure those APIs actually work and continue to work.
Updated•2 years ago
|
Comment 1•4 months ago
|
||
We’re looking to measure latency over on Firefox for iOS, broken down by entry point. A labeled_timing_distribution seems like the best fit, so Swift support would be helpful for this work. In the meantime, we’ll consider using a separate timing_distribution metric for each entry point as a fallback. Thanks for considering our use case when prioritizing this!
| Reporter | ||
Updated•4 months ago
|
Updated•3 months ago
|
| Assignee | ||
Comment 2•3 months ago
|
||
So it turns out this is not "just" smoke tests. Due to some changes in how we generate labeled metrics this requires API changes (and glean_parser changes).
All do-able (and I have it nearly ready, minus docs, for Swift), this will require a major release (of both glean_parser and the Glean SDK), which means it will have to wait a moment as we need to land Glean v69 first.
Comment 3•3 months ago
|
||
Comment 4•3 months ago
|
||
| Assignee | ||
Comment 5•3 months ago
|
||
| Assignee | ||
Comment 6•27 days ago
|
||
badboy merged PR [mozilla/glean]: Bug 1908760 - Implement labeled {custom|memory|timing} distribution for mobile (#3573) in 30ee3ae.
This finally landed and I'm getting it into a release next.
Description
•