mozilla / glam

Mozilla's primary interactive dashboard for examining the distribution of telemetry values.
https://glam.telemetry.mozilla.org
Mozilla Public License 2.0
20 stars 23 forks source link

Add time-unit awareness to timespan metrics #2641

Open edugfilho opened 9 months ago

edugfilho commented 9 months ago

Following 1630966 GLAM needs to be aware of the time-unit of a timespan type metric (Glean). This will allow the timespans to change their time-unit (from milliseconds to seconds, for example) without causing aggregation problems. Here's how I see this being implemented in the ETL and application without having to add new columns:'

This work will likely require data to be migrated

badboy commented 9 months ago

I guess the probeinfo history for a metric has the time_unit for every history entry, so one could pick the first