Closed Bug 1527906 Opened 6 years ago Closed 6 years ago

Deploy Webpagetest schema

Categories

(Data Platform and Tools Graveyard :: Operations, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: akomar, Assigned: whd)

Details

Attachments

(1 file)

I've deployed this but no pings are making it through:

https://pipeline-cep.prod.mozaws.net/dashboard_output/graphs/analysis.moz_generic_error_monitor.webpagetest.html
https://pipeline-cep.prod.mozaws.net/dashboard_output/analysis.moz_generic_webpagetest_webpagetest_run_1_pings.errors.txt

The error is not particularly helpful (:trink has in-flight work for making the error monitor more useful), but I dug up an example ping from landfill which makes the issue pretty clear:

name: uri type: 0 representation: <nil> value: /submit/webpagetest/webpagetest-run/1/UUID
name: content type: 1 representation: <nil> value: appName=chrome&channel=canary&[...]

Namely, the submission is not JSON and appears instead to be encoded as query parameters.

Thanks for deploying, Wes! Sorry 'bout the errors.

I'll take a look, but would appreciate any and all pointers/PRs/gists; the code is https://github.com/mozilla/wpt-api/blob/6a035b1b69426164dff40c01305a8d2219586787/send_to_telemetry.py.

(In reply to Stephen Donner [:stephend] from comment #2)

Thanks for deploying, Wes! Sorry 'bout the errors.

I'll take a look, but would appreciate any and all pointers/PRs/gists; the code is https://github.com/mozilla/wpt-api/blob/6a035b1b69426164dff40c01305a8d2219586787/send_to_telemetry.py.

https://github.com/mozilla/wpt-api/blob/6a035b1b69426164dff40c01305a8d2219586787/send_to_telemetry.py#L84

You probably want data=json.dumps(asdict(result)) or similar.

Sorry, all - this should now be fixed, in: https://github.com/mozilla/wpt-api/commit/e524adda32cb731a5b1ad6282ee0b8806894adee

Wesley/Akomar, can either of you confirm?

Flags: needinfo?(whd)
Flags: needinfo?(akomarzewski)
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(whd)
Flags: needinfo?(akomarzewski)
Resolution: --- → FIXED

I made an error in Parquet schema resulting in null metric values in the output, we'll need to redeploy once this is merged: https://github.com/mozilla-services/mozilla-pipeline-schemas/pull/264

:whd - can you redeploy updated schema[1]?

[1] https://github.com/mozilla-services/mozilla-pipeline-schemas/pull/264

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

(In reply to Arkadiusz Komarzewski [:akomar] from comment #8)

:whd - can you redeploy updated schema[1]?

[1] https://github.com/mozilla-services/mozilla-pipeline-schemas/pull/264

Done. Please close this when you've verified the fix.

Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → FIXED

Er, keeping open until the fix has been verified by someone other than me.

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Looks good so far.

:whd - before we close this, can you delete all the data from this dataset where submission_date_s3<='20190219'? Schema changed a little after the last fix and this would make consumers' life easier.

(In reply to Arkadiusz Komarzewski [:akomar] from comment #11)

:whd - before we close this, can you delete all the data from this dataset where submission_date_s3<='20190219'? Schema changed a little after the last fix and this would make consumers' life easier.

This has been done. Closing.

Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → FIXED
Product: Data Platform and Tools → Data Platform and Tools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: