Closed Bug 1879863 Opened 2 years ago Closed 1 year ago

structured missing columns in `firefox_desktop_background_update.metrics_v1` for `metrics%

Categories

(Data Platform and Tools :: General, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

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

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1797338
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
No longer duplicate of bug: 1797338
Resolution: DUPLICATE → ---

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:

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.

Flags: needinfo?(chutten)

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?

Flags: needinfo?(chutten)

(In reply to Chris H-C :chutten from comment #3)

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?

The specific one we saw missing when we looked was metrics > uuid > legacy.telemetry.client_id

Attached image image.png —
Attached image image.png —

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

bug 1882387 is another example of a column for a metric that is defined in a dependency according to repositories.yaml.

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?

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

Status: REOPENED → RESOLVED
Closed: 2 years ago → 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: