Page MenuHomePhabricator

Update content_translation_event schema to accomodate new Content Translation entry points
Closed, ResolvedPublic

Description

One goal of the new Content Translation data collection (T231316) is to help differentiate the impact of the system's different entry points. As a result, the content_translation_event schema has a different event_source value for each entry point, for use with dashboard_open and dashboard_translation_start events.

As part of T286641, several new entry points to Content Translation will be added. Each of these entry points will likely require a new event_source value, which will have to added to the schema and to the schema readme.

Event Timeline

Update: Instrumentation of the following new SX entry points are still being implemented in T301222.

Entrypoint nameEvent source
mflanguagesearchercontent_language_selector
mfrecenttranslationrecent_translation
mfrecenteditrecent_edit
mffrequentlanguagesfrequent_languages

Once complete, I will make sure these new entry points have been documented in the schema and the schema readme.

Change 824762 had a related patch set uploaded (by MNeisler; author: MNeisler):

[schemas/event/secondary@master] content_translation_event: Add new event_source for new section entrypoints

https://gerrit.wikimedia.org/r/824762

Update: I've added the following new event_source values to the schema but keeping this task open as I still need to update the schema readme file.

  • recent_translation
  • recent_edit
  • frequent_languages

Change 824762 merged by jenkins-bot:

[schemas/event/secondary@master] content_translation_event: Add new event_source for new section entrypoints

https://gerrit.wikimedia.org/r/824762

Change 826632 had a related patch set uploaded (by MNeisler; author: MNeisler):

[schemas/event/secondary@master] content_translation_event: update schema documentation with new event source values

https://gerrit.wikimedia.org/r/826632

Change 826632 merged by jenkins-bot:

[schemas/event/secondary@master] content_translation_event: update schema documentation with new event source values

https://gerrit.wikimedia.org/r/826632

The schema and schema ReadMe have been updated with the new SX entry points instrumented in T301222.

It looks like there are still some additional entry points (described in T286641) that need to be instrumented. I'm keeping this task open for right now pending confirmation of additional schema updates that need to be made as part of this task.

Confirmed that the schema has been updated with all new SX entry points instrumented in T301222 and as documented in this entry point list.

Per discussions with @Pginer-WMF, I will open a new task to update the schema to accommodate any additional entry points added in the future. Marking this task as resolved.