Closed Bug 1841366 Opened 1 year ago Closed 1 year ago

Add a flowId to existing Translations telemetry events

Categories

(Firefox :: Translations, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox117 --- fixed

People

(Reporter: nordzilla, Assigned: nordzilla)

References

Details

Attachments

(5 files, 4 obsolete files)

Moving forward we will be using a flowId to associate related translations events within the same logical user session.

This patch will add a flowId to all existing Translations telemetry events.

Summary: Add a flowId to existing Translations telemetry → Add a flowId to existing Translations telemetry events
Assignee: nobody → enordin
Type: defect → enhancement

Renames some variables in the translations telemetry tests
to make the code more readable.

Adds a pref for a flowId to utilize in Translations telemetry.
This id will tie together related events within a logical session
of translations.

Depends on D182610

Instruments all pre-existing Translations telemetry events
to utilize the flowId.

Depends on D182611

Adds test infrastructure and test cases to assert that the flowId
is being tracked correctly in Translations telemetry events.

Depends on D182612

Attachment #9342011 - Attachment description: WIP: Bug 1841366 - Rename TestTranslationsTelemetry variables → Bug 1841366 - Rename TestTranslationsTelemetry variables r=gregtatum!
Attachment #9342012 - Attachment description: WIP: Bug 1841366 - Add Translations telemetry flowId pref → Bug 1841366 - Add Translations telemetry flowId pref r=gregtatum!
Attachment #9342013 - Attachment description: WIP: Bug 1841366 - Add flowId to existing Translations telemetry events → Bug 1841366 - Add flowId to existing Translations telemetry events r=gregtatum!
Attachment #9342014 - Attachment description: WIP: Bug 1841366 - Test flowId in Translations telemetry → Bug 1841366 - Test flowId in Translations telemetry r=gregtatum!

Depends on D182613

Depends on D182613

Attachment #9342012 - Attachment is obsolete: true
Attachment #9342013 - Attachment is obsolete: true
Attachment #9342784 - Attachment is obsolete: true
Attachment #9342471 - Attachment is obsolete: true

Unifies the TranslationsTelemetry implementations into a single file
using only one metrics.yaml file as well

Depends on D182610

Instruments all pre-existing Translations telemetry events
to utilize the flowId event extra key.

Depends on D183044

Attachment #9342825 - Attachment description: WIP: Bug 1841366 - Unify TranslationsTelemetry in toolkit → Bug 1841366 - Unify TranslationsTelemetry in toolkit r=gregtatum!
Attachment #9342826 - Attachment description: WIP: Bug 1841366 - Utilize flowId in existing Translations telemetry → Bug 1841366 - Utilize flowId in existing Translations telemetry r=gregtatum!
Attached file data-review-request
Attachment #9343101 - Flags: data-review?(chutten)

chutten,

All of these metrics were ones that I added in the last cycle.

This request is to add a flow_id as an extra key to the events.

Comment on attachment 9343101 [details]
data-review-request

DATA COLLECTION REVIEW RESPONSE:

Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?

Yes.

Is there a control mechanism that allows the user to turn the data collection on and off?

Yes. This collection can be controlled through the product's preferences.

If the request is for permanent data collection, is there someone who will monitor the data over time?

No. This collection will expire in Firefox 122.

Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 2, Interaction.

Is the data collection request for default-on or default-off?

Default on for all channels.

Does the instrumentation include the addition of any new identifiers?

No. (The introduction of a local uuid for sessionization isn't an "identifier" as meant for this process)

Is the data collection covered by the existing Firefox privacy notice?

Yes.

Does the data collection use a third-party collection tool?

No.


Result: datareview+

Attachment #9343101 - Flags: data-review?(chutten) → data-review+
Pushed by enordin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/eb07de1d0a14 Rename TestTranslationsTelemetry variables r=gregtatum https://hg.mozilla.org/integration/autoland/rev/cbaeb41e063a Unify TranslationsTelemetry in toolkit r=gregtatum https://hg.mozilla.org/integration/autoland/rev/e2e5864f1493 Utilize flowId in existing Translations telemetry r=gregtatum https://hg.mozilla.org/integration/autoland/rev/2dc0ffebfdee Test flowId in Translations telemetry r=gregtatum
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: