Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(442)

Unified Diff: tools/metrics/histograms/histograms.xml

Issue 2878363002: Adds logging metrics to translate infobar. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « tools/metrics/histograms/enums.xml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index d1800f8261a89d2e3f42ae6331697e1debe91683..1600b0fc3706278d1378edc488dbe80ae94c8ee7 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -75904,6 +75904,26 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Translate.CompactInfobar.TranslationsPerPage"
+ units="translations">
+ <owner>ramyasharma@google.com</owner>
+ <summary>
+ Records the number of times a page is translated, every time the page is
+ translated. For instance on a page a) translation from A to B, we record
+ &quot;1&quot; b) from A to B - we record &quot;1&quot; and revert from B to
+ A - we record &quot;2&quot; c) from A to B - we record &quot;1&quot;, then
+ translation to C - we record &quot;2&quot;. d) from A to B - we record
+ &quot;1&quot;, then translation to C - we record &quot;2&quot; and then
+ revert to A - we record &quot;3&quot;. We increment the translation count:
+ a) every time the target language is changed. b) every time we revert to the
+ original language (user can only revert to original language and not
+ intermediate target languages). This essentially means 1 denotes &gt;= 1
+ translations, 2 is &gt;=2 translations per page and so on. This will give us
+ a sense of how often people try out several translates on a page, or flip
+ back and forth.
+ </summary>
+</histogram>
+
<histogram name="Translate.ContentLanguage" enum="TranslateLanguage">
<owner>kenjibaheux@google.com</owner>
<summary>
« no previous file with comments | « tools/metrics/histograms/enums.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698