Deploy Webpagetest schema
Categories
(Data Platform and Tools Graveyard :: Operations, enhancement)
Tracking
(Not tracked)
People
(Reporter: akomar, Assigned: whd)
Details
Attachments
(1 file)
1.70 MB,
image/png
|
Details |
Assignee | ||
Comment 1•6 years ago
|
||
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.
Assignee | ||
Comment 3•6 years ago
|
||
(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.
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?
Looks like it's now ingesting?
Assignee | ||
Comment 6•6 years ago
|
||
Reporter | ||
Comment 7•6 years ago
•
|
||
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
Reporter | ||
Comment 8•6 years ago
|
||
:whd - can you redeploy updated schema[1]?
[1] https://github.com/mozilla-services/mozilla-pipeline-schemas/pull/264
Assignee | ||
Comment 9•6 years ago
|
||
(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.
Assignee | ||
Comment 10•6 years ago
|
||
Er, keeping open until the fix has been verified by someone other than me.
Reporter | ||
Comment 11•6 years ago
|
||
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.
Assignee | ||
Comment 12•6 years ago
|
||
(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.
Updated•2 years ago
|
Description
•