Closed Bug 1397286 Opened 9 years ago Closed 9 years ago

Move the full telemetry URI parsing into the moz_ingest

Categories

(Data Platform and Tools :: General, enhancement, P2)

enhancement
Points:
2

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: trink, Unassigned, Mentored)

Details

The new telemetry.duplicate message now only contains a subset of the information it used to since de-duplictation happens before the new sub-decoder. We would have to move all of the Telemetry URI parsing into the moz_ingest module including the channel normalization (aliasing it back into the moz_telemetry package so we don't break existing users). New: :Uuid: 65a93b5f-462d-4d8e-a343-6d4957852834 :Timestamp: 2017-09-05T23:11:38.288058880Z :Type: telemetry.duplicate :Logger: telemetry :Severity: 7 :Payload: <nil> :EnvVersion: <nil> :Pid: <nil> :Hostname: ip-172-31-20-108 :Fields: | name: documentId type: 0 representation: <nil> value: 4ad1620d-f0ae-41bf-ac33-6a2278ce43b4 | name: docType type: 0 representation: <nil> value: saved-session | name: geoCity type: 0 representation: <nil> value: ?? | name: geoCountry type: 0 representation: <nil> value: FR | name: duplicateDelta type: 2 representation: 6m value: 2 Old: :Uuid: 864f139b-a2c1-494a-ac8e-3c7b1ac9765d :Timestamp: 2017-09-05T23:08:13.017984000Z :Type: telemetry.duplicate :Logger: telemetry :Severity: 7 :Payload: <nil> :EnvVersion: <nil> :Pid: <nil> :Hostname: ip-172-31-17-39 :Fields: | name: appVersion type: 0 representation: <nil> value: 51.0.1 | name: appUpdateChannel type: 0 representation: <nil> value: release | name: documentId type: 0 representation: <nil> value: 19cbd27d-8360-47e4-955b-c2d0b7a88043 | name: docType type: 0 representation: <nil> value: main | name: appBuildId type: 0 representation: <nil> value: 20170125094131 | name: geoCountry type: 0 representation: <nil> value: PH | name: duplicateDelta type: 2 representation: 6m value: 181 | name: normalizedChannel type: 0 representation: <nil> value: release | name: geoCity type: 0 representation: <nil> value: ?? | name: appName type: 0 representation: <nil> value: Firefox
This is a small task that would be a good learning experience to start the transfer of knowledge on the ingestion pipeline. Please find/select a volunteer and assign them to this bug. For someone new I would give them a day or two (they will probably spend a few hours setting up the build environment and another few playing with LPeg). With domain knowledge I would estimate the task at less than an hour for the source and test modifications.
Mentor: mtrinkala
Flags: needinfo?(mreid)
Let's leave normalized channel out of the telemetry.dupe messages. We can normalize in the alerting plugins if we need to. I'd rather keep as much of the telemetry-specific stuff out of moz_ingest as possible.
Flags: needinfo?(mreid)
Points: --- → 2
Priority: -- → P2
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Component: Pipeline Ingestion → General
You need to log in before you can comment on or make changes to this bug.