structured missing columns in `firefox_desktop_background_update.metrics_v1` for `metrics%
Categories
(Data Platform and Tools :: General, defect)
Tracking
(Not tracked)
People
(Reporter: lvargas, Unassigned)
References
Details
(Whiteboard: [dataquality])
Attachments
(2 files)
Several columns missing for firefox_desktop_background_update.metrics_v1, noticed during Data Platform Check:
metrics.memory_distribution.performance.clone.deserialize.size.values.[...]
metrics.memory_distribution.performance.clone.deserialize.size.sum
metrics.timing_distribution.javascript.gc.minor_time.values.[...]
metrics.timing_distribution.javascript.gc.minor_time.sum
metrics.timing_distribution.javascript.gc.minor_time.values.[...]
metrics.timing_distribution.javascript.gc.minor_time.sum
metrics.timing_distribution.performance.clone.deserialize.time.values.metrics.timing_distribution.performance.clone.deserialize.time.sum
metrics.string.gecko.version
metrics.string.gecko.build_id
metrics.custom_distribution.performance.clone.deserialize.items.values.[...]
metrics.custom_distribution.performance.clone.deserialize.items.sum
Updated•2 years ago
|
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
First we ran the below query to see some examples of the missing columns:
--{\"metrics\":{\"uuid\":{\"legacy.telemetry.client_id\":\"f26f2dbd-523b-4bc4-b9f4-4d1530a41f0c\"}}}
SELECT additional_properties
FROM `mozdata.firefox_desktop_background_update.metrics`
where date(submission_timestamp) = '2024-02-21'
and additional_properties <> '{}'
LIMIT 10
From there, we looked at the schemas here:
- https://github.com/mozilla-services/mozilla-pipeline-schemas/blob/generated-schemas/schemas/firefox-desktop-background-update/metrics/metrics.1.schema.json
- https://github.com/mozilla-services/mozilla-pipeline-schemas/blob/generated-schemas/schemas/firefox-desktop-background-update/metrics/metrics.1.bq
Next, we looked upstream & saw that metrics.yaml doesn't have the legacy.telemetry.client_id column that is being sent.
@chutten - Does this column need to be added to metrics.yaml? Or should it not be sent? (What's interesting is that the column description for the other one in metrics.yaml that does show up in BQ literally says "The legacy Telemetry client ID of this installation's default profile". So we aren't sure if they should really be sending it under that existing field or not.
Comment 3•2 years ago
|
||
firefox-desktop-background-update depends on gecko and gecko has the metrics.yamls that define those metrics. Like here's the one for performance.clone.deserialize.*.
I don't know why those columns would be missing. There were some weird things with probe-scraper around the time we added these metrics, but they should be all sorted by now?
Comment 4•2 years ago
|
||
(In reply to Chris H-C :chutten from comment #3)
firefox-desktop-background-updatedepends ongeckoandgeckohas the metrics.yamls that define those metrics. Like here's the one forperformance.clone.deserialize.*.I don't know why those columns would be missing. There were some weird things with probe-scraper around the time we added these metrics, but they should be all sorted by now?
The specific one we saw missing when we looked was metrics > uuid > legacy.telemetry.client_id
Comment 5•2 years ago
|
||
Comment 6•2 years ago
|
||
Comment 7•2 years ago
|
||
I did find that metric for legacy_telemetry_client_id here I think
But checking on looker it does not look like the issue got any better recently
Comment 8•2 years ago
|
||
bug 1882387 is another example of a column for a metric that is defined in a dependency according to repositories.yaml.
Comment 9•1 year ago
|
||
In the Platform Health Check this week I'm seeing a spike in missing column errors for the metric metrics.labeled_counter.clamping_time_hgrams.HTTP3_TIMER_DELAYED (from about 30k to 30m). It's not clear to me from this ticket what action, if any, I should take here. Any thoughts?
Comment 10•1 year ago
|
||
This bug was added to the spreadsheet as firefox_desktop_background_update.metrics_v1 for metrics% so all metrics ping missing columns were linking here. The listed metrics have all been resolved so closing this and fixing the spreadsheet so it stops linking to this
Description
•