Closed Bug 1908760 Opened 2 years ago Closed 27 days ago

Add Kotlin and Swift smoke tests for labeled_{custom|memory|timing}_distribution APIs

Categories

(Data Platform and Tools :: Glean: SDK, task, P2)

task

Tracking

(Not tracked)

RESOLVED FIXED

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.

Priority: -- → P4

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!

Priority: P4 → --
Assignee: nobody → jrediger
Priority: -- → P2
Depends on: 1652528

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.

Status: NEW → RESOLVED
Closed: 27 days ago
Resolution: --- → FIXED
Blocks: 2085018
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: