New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 653700 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jan 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature



Sign in to add a comment

Log Translate Events in UMA

Project Member Reported by hamelphi@chromium.org, Oct 6 2016

Issue description

Feature description: Add a custom proto in UMA to lag Translate interactions.

Eng owner:hamelphi@, rogerm@
Product owner:

Design doc: go/translate-events

 
Project Member

Comment 3 by bugdroid1@chromium.org, Nov 16 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce

commit 2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce
Author: rogerm <rogerm@chromium.org>
Date: Wed Nov 16 07:17:05 2016

Integrate TranslateEventProto UMA logging into TranslateManager.

This CL integrates the TranslateEventProto into the TranaslateManager in order to report these events via UMA.

BUG= 634961 ,  653700 

Review-Url: https://codereview.chromium.org/2400503002
Cr-Commit-Position: refs/heads/master@{#432416}

[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/chrome/browser/translate/chrome_translate_client.cc
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/chrome/browser/translate/chrome_translate_client.h
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/chrome/browser/translate/translate_manager_render_view_host_unittest.cc
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/chrome/browser/ui/browser_commands.cc
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/chrome/browser/ui/browser_window.h
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/chrome/browser/ui/cocoa/browser_window_cocoa.h
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/chrome/browser/ui/cocoa/browser_window_cocoa.mm
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/chrome/browser/ui/translate/translate_bubble_factory.cc
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/chrome/browser/ui/translate/translate_bubble_factory.h
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/chrome/browser/ui/translate/translate_bubble_view_state_transition.h
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/chrome/browser/ui/views/frame/browser_view.cc
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/chrome/browser/ui/views/frame/browser_view.h
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/chrome/test/base/test_browser_window.cc
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/chrome/test/base/test_browser_window.h
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/components/metrics/proto/translate_event.proto
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/components/translate/core/browser/translate_manager.cc
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/components/translate/core/browser/translate_manager.h
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/components/translate/core/browser/translate_ranker.cc
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/components/translate/core/browser/translate_ranker.h
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/components/translate/core/browser/translate_ui_delegate.cc
[modify] https://crrev.com/2847cf85bbbd9dcfc7f9bcc3b6add85d709155ce/tools/metrics/histograms/histograms.xml

Status: Fixed (was: Assigned)
Project Member

Comment 5 by bugdroid1@chromium.org, Feb 13 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9e98a60b54d634b3e9b34785de505f20fb576e36

commit 9e98a60b54d634b3e9b34785de505f20fb576e36
Author: hamelphi <hamelphi@chromium.org>
Date: Mon Feb 13 19:50:30 2017

Add a country field to TranslateEventProto.

This field will be useful to log explicitly the country that we get at inference time in the client, which may be different from the one we can infer from GWSLogs data on the server side. A discrepancy in data between inference and training can hurt the performance of translateRanker.

See cl/146667100 for the Google3 side CL.

BUG= 653700 

Review-Url: https://codereview.chromium.org/2629173002
Cr-Commit-Position: refs/heads/master@{#450049}

[modify] https://crrev.com/9e98a60b54d634b3e9b34785de505f20fb576e36/components/metrics/proto/translate_event.proto
[modify] https://crrev.com/9e98a60b54d634b3e9b34785de505f20fb576e36/components/translate/core/browser/translate_manager.cc

Sign in to add a comment