Closed
Bug 1573441
Opened 5 years ago
Closed 5 years ago
Create a `CustomDistributionMetricType` in glean-core
Categories
(Data Platform and Tools :: Glean: SDK, task, P1)
Data Platform and Tools
Glean: SDK
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: janerik, Assigned: janerik)
References
Details
(Whiteboard: [telemetry:glean-rs:m8])
Attachments
(1 file)
(deleted),
text/x-github-pull-request
|
Details |
Some GeckoView histograms require a fairly custom shape of the distribution, which doesn't directly fit into the concept of "infinite binning". Additionally, some distributions do not have units or have custom units (e.g. "pixels" or "% of vsync").
We should introduce a new metric type, only usable for mapping to Gecko histograms, which allows for specifying:
- either linear or exponential bucketing;
- min/max range;
- time_unit (only in the metrics.yaml, for metadata)
- number of buckets.
Glean AC PR: https://github.com/mozilla-mobile/android-components/pull/4041
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → jrediger
Assignee | ||
Updated•5 years ago
|
Priority: P3 → P1
Assignee | ||
Comment 2•5 years ago
|
||
I got a half-finished Rust implementation up here: https://github.com/mozilla/glean/compare/custom-distribution
Lacks everything except the basic implementation (and I had to duplicate few things to easily support linear and exponential histograms).
Will continue work on it when I return.
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•