Closed Bug 1886221 Opened 2 years ago Closed 2 years ago

Add Telemetry to send "to" and "from" languages for each Translation

Categories

(Firefox for Android :: Translations, enhancement, P1)

All
Android
enhancement

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed
firefox127 --- verified

People

(Reporter: olivia, Assigned: olivia)

References

Details

(Whiteboard: [fxdroid][foundation])

Attachments

(2 files)

This bug is to add telemetry to send "to" and "from" languages to support a Nimbus experiment.

Whiteboard: [fxdroid][foundation]
Summary: Add Telemetry to send "to" and "from" for each Translation → Add Telemetry to send "to" and "from" languages for each Translation
Assignee: nobody → ohall
Severity: -- → S3
Priority: -- → P1

Should also use this to add telemetry for translation success, error, and unsupported engines.

Attached file 1886221_data_review.md

Additional data request for telemetry on Android.

(Prior translations requests are bug 1886851 (offer) telemetry and bug 1883968 (interaction with feature area.)

Attachment #9393783 - Flags: data-review?(royang)

Comment on attachment 9393783 [details]
1886221_data_review.md

DATA COLLECTION REVIEW RESPONSE:

  1. Is there or will there be documentation that describes the schema for the ultimate data set in a public, complete, and accurate way?

Yes, through the metrics.yaml file and the Glean Dictionary.

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

Yes. This collection is Telemetry so can be controlled through Firefox's Preferences.

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

android-probes@mozilla.com will be responsible for monitoring the data over time

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

Category 1 and 2, Technical and Interaction data

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

Default on for all channels.

  1. Does the instrumentation include the addition of any new identifiers?

No

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

Yes

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

No

Result: data-review+

Attachment #9393783 - Flags: data-review?(royang) → data-review+

This bug adds additional telemetry including:

  • When a translation is requested, including to/from languages
  • When a translation is successful
  • When a translation fails
  • Whether or not the translations engine is supported

Depends on D205909

Pushed by ohall@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a49550f1b579 Translations Telemetry r=android-reviewers,Roger
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Flags: qe-verify+

Verified as implemented on the latest Fenix Nightly 127.0a1 build from 5/9, using a Google Pixel 6 (Android 14), and a Realme GT Master Edition (Android 13). The following events were being generated successfully:

  • translations.action translation_request to_language
  • translations.action translation_request from_language
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: