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)

defect

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.

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

True, Frank and I missed that, plus it would be good to have the mathematical formula noted somewhere.

Maybe we could use MathML=

Whiteboard: [telemetry:glean-rs:m?] → [telemetry:glean-rs:backlog][docdays]
Assignee: nobody → mdroettboom
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.

Attachment

General

Created:
Updated:
Size: