Closed
Bug 1381555
Opened 7 years ago
Closed 7 years ago
Validate environment.experiments during ingestion
Categories
(Data Platform and Tools :: General, enhancement, P1)
Data Platform and Tools
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: whd, Assigned: Dexter)
Details
(Whiteboard: [measurement:client])
Attachments
(2 files)
4.63 KB,
patch
|
Details | Diff | Splinter Review | |
68 bytes,
text/x-github-pull-request
|
Details | Review |
We assume in https://github.com/mozilla-services/lua_sandbox_extensions/blob/master/moz_telemetry/sandboxes/heka/output/moz_telemetry_s3.lua#L193-L207 that environment.experiments has a certain structure if it is valid JSON. This can result in a type error when processing, as in the wild there has been at least one message for which the resultant "exp" was a number instead of a table. We should update the output code or the schema, preferably the schema as this is why it exists.
Comment 2•7 years ago
|
||
Alessio, is this something you can take care of? I was hoping to get to it before PTO, but I ran out of time to test it. I think we need to add a section to the "environment" chunk like in the attached patch.
Flags: needinfo?(alessio.placitelli)
Assignee | ||
Comment 3•7 years ago
|
||
(In reply to Mark Reid [:mreid] from comment #2) > Created attachment 8888019 [details] [diff] [review] > 1381555.patch > > Alessio, is this something you can take care of? Sure! > I was hoping to get to it before PTO, but I ran out of time to test it. > > I think we need to add a section to the "environment" chunk like in the > attached patch. Ok!
Assignee: nobody → alessio.placitelli
Flags: needinfo?(alessio.placitelli)
Priority: P2 → P1
Whiteboard: [measurement:client]
Assignee | ||
Comment 4•7 years ago
|
||
Assignee | ||
Comment 5•7 years ago
|
||
This was merged: https://github.com/mozilla-services/mozilla-pipeline-schemas/commit/84d84813f959d7dff0cf96253906dcaf5c1d3b1d
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Updated•2 years ago
|
Component: Pipeline Ingestion → General
You need to log in
before you can comment on or make changes to this bug.
Description
•