Closed
Bug 1610521
Opened 5 years ago
Closed 5 years ago
Document the distribution function used in timing|memory distributions
Categories
(Data Platform and Tools :: Glean: SDK, defect, P3)
Data Platform and Tools
Glean: SDK
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: janerik, Assigned: mdroettboom)
Details
(Whiteboard: [telemetry:glean-rs:backlog][docdays])
Attachments
(1 file)
The bucketing algorithm uses a logarithmic function currently:
n * log2(x)
with n being different for timing/memory distributions
It's only documented in the code itself (and due to how it's structured not immediately visible with the exact numbers per type).
We should put these functions (and the reason why they work for us) in the Glean SDK book.
| Assignee | ||
Comment 1•5 years ago
|
||
It seems to be documented here in the first section -- maybe just make it more prominent somehow?
https://mozilla.github.io/glean/book/user/metrics/timing_distribution.html
| Reporter | ||
Comment 2•5 years ago
|
||
True, Frank and I missed that, plus it would be good to have the mathematical formula noted somewhere.
Comment 3•5 years ago
|
||
Maybe we could use MathML=
Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:backlog][docdays]
| Assignee | ||
Updated•5 years ago
|
Assignee: nobody → mdroettboom
| Assignee | ||
Comment 4•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
•