Open Bug 1940975 Opened 1 month ago Updated 16 days ago

test_mirrors.py should consider ensuring enumerated histograms are mirroring to custom distributions with a compatible number of buckets

Categories

(Toolkit :: Telemetry, task, P2)

task

Tracking

()

People

(Reporter: chutten, Unassigned, Mentored)

References

Details

(Whiteboard: [good next bug][lang=python][fog-migration])

Per florian's comment, test_mirrors.py can (and probably should) check a lot more than just "is it a labeled_custom_distribution if it's a keyed enumerated histogram?" when the histogram being mirrored-to is of kind: enumerated.

Though theoretically the Glean custom_distribution doesn't have to line up its buckets (the samples will make it through GIFFT unchanged) it's likely an error if it doesn't. We can assert that the custom_distribution metric is of a linear histogram_type, that it starts at 0, and that it has one more bucket than the histogram has n_values.

Mentor: chutten
Whiteboard: [good next bug][lang=python]
Whiteboard: [good next bug][lang=python] → [good next bug][lang=python][fog-migration]
You need to log in before you can comment on or make changes to this bug.