Page MenuHomePhabricator

Design instrumentation (schema) for tracking MinT usage in the Translate extension
Closed, ResolvedPublic

Description

Use https://wikitech.wikimedia.org/wiki/Metrics_Platform

The metrics are listed in the parent task.

Event Timeline

@Wangombe I have drafted the instrumentation spec, in according with the Metrics Platform schema. Please review and let me know your thoughts.

KCVelaga_WMF added a subscriber: abi_.

@abi_ @Wangombe I have made changes to the instrumentation spec based on last week's discussion. Please review and let me know if you have any feedback.

@abi_ @Wangombe I have made changes to the instrumentation spec based on last week's discussion. Please review and let me know if you have any feedback.

I think this is good and we can start implementing this on our end.

One questions, since we are also tracking translation view / mode that the user is using, do we also want to track whether a message is reviewed when the translation view is "Review"?

image.png (841×1 px, 94 KB)

@abi_ @Wangombe As we tracking several others steps of user flow (apart from just MinT usage itself), I didn't specify mint in the stream name. We can keep it generic for translate extension, which can also used if we expand in the future.

@Wangombe: Sorry, my bad, I pointed you to the wrong schemaID to be used for logging the actual events.

schemaID has to be /analytics/product_metrics/web/translation/1.0.0 (reference)

@abi_ @Wangombe As we tracking several others steps of user flow (apart from just MinT usage itself), I didn't specify mint in the stream name. We can keep it generic for translate extension, which can also used if we expand in the future.

Actually, I just realized what happened.

When I made the comment in August, we still didn't have the translation fragment, as that was only created in September (T369687) -- so we were still using the web base schema. We had an explicit task for MinT for Readers instrumentation to update it (T376017) as that was already in production, but not for this instrumentation, and it slipped through the cracks. Sorry for the confusion.