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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 667873002: Add UMA to hotword trigger extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add to histograms.xml Created 6 years, 1 month 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/actions/extract_actions.py ('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 5a05ca5288e342fa5e1bf5e298246419e03ad9dd..69203bf530541f7037fb0e6cc2917a2e20df67c8 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -10003,6 +10003,37 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Hotword.HotwordMediaStreamError"
+ enum="HotwordMediaStreamError">
+ <owner>amistry@chromium.org</owner>
+ <owner>rlp@chromium.org</owner>
+ <owner>somast@chromium.org</owner>
+ <summary>
+ Errors when attempting to open a MediaStream for the microphone.
Mark P 2014/10/22 21:20:17 Do you have a histogram or something that allows n
Mark P 2014/10/22 21:20:17 Is it possible the same stream causes multiple err
Anand Mistry (off Chromium) 2014/10/22 22:14:14 No. This error occurs on the attempt to open the s
Anand Mistry (off Chromium) 2014/10/22 22:14:15 Are you suggesting to have a success/fail histogra
Mark P 2014/10/22 22:32:16 Either method (success/fail histogram or adding su
Mark P 2014/10/22 22:32:17 optional suggestion: Say explicitly something like
Anand Mistry (off Chromium) 2014/10/23 00:20:37 Done. I think it's useful.
Anand Mistry (off Chromium) 2014/10/23 00:20:37 Done, although not so wordy.
Mark P 2014/10/23 18:54:00 Yeah, I tend to be wordy. :-)
+ </summary>
+</histogram>
+
+<histogram name="Hotword.HotwordNaClMessageTimeout"
+ enum="HotwordNaClMessageTimeout">
+ <owner>amistry@chromium.org</owner>
+ <owner>rlp@chromium.org</owner>
+ <owner>somast@chromium.org</owner>
+ <summary>
+ Timeout occured while waiting for a message from the NaCl hotword detector
+ plugin. This value is the message that was expected to be received from the
+ plugin.
Mark P 2014/10/22 21:20:17 For my information, if the NaCl plugin failed to l
Anand Mistry (off Chromium) 2014/10/22 22:14:15 Correct.
+ </summary>
+</histogram>
+
+<histogram name="Hotword.HotwordNaClPluginError" enum="HotwordNaClPluginError">
+ <owner>amistry@chromium.org</owner>
+ <owner>rlp@chromium.org</owner>
+ <owner>somast@chromium.org</owner>
+ <summary>
+ Errors when attempting to load the NaCl hotword detector plugin.
+ </summary>
+</histogram>
+
<histogram name="HttpCache.AsyncValidationDuration" units="milliseconds">
<owner>ricea@chromium.org</owner>
<summary>
@@ -44769,6 +44800,37 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="3" label="Microphone error"/>
</enum>
+<enum name="HotwordMediaStreamError" type="int">
+ <int value="0" label="Unknown error"/>
+ <int value="1" label="NotSupportedError"/>
+ <int value="2" label="PermissionDeniedError"/>
+ <int value="3" label="ConstraintNotSatisfiedError"/>
+ <int value="4" label="OverconstrainedError"/>
+ <int value="5" label="NotFoundError"/>
+ <int value="6" label="AbortError"/>
+ <int value="7" label="SourceUnavailableError"/>
+ <int value="8" label="PermissionDismissedError"/>
+ <int value="9" label="InvalidStateError"/>
+ <int value="10" label="DevicesNotFoundError"/>
+ <int value="11" label="InvalidSecurityOriginError"/>
+</enum>
+
+<enum name="HotwordNaClMessageTimeout" type="int">
+ <int value="0" label="REQUEST_MODEL"/>
+ <int value="1" label="MODEL_LOADED"/>
+ <int value="2" label="READY_FOR_AUDIO"/>
+ <int value="3" label="STOPPED"/>
+ <int value="4" label="HOTWORD_DETECTED"/>
+ <int value="5" label="MS_CONFIGURED"/>
+</enum>
+
+<enum name="HotwordNaClPluginError" type="int">
+ <int value="0" label="Unknown error"/>
+ <int value="1" label="Module crash"/>
+ <int value="2" label="Module not found"/>
+ <int value="3" label="Message timeout"/>
+</enum>
+
<enum name="HotwordPrefState" type="int">
<int value="0" label="Preference not set"/>
<int value="1" label="Hotwording enabled"/>
« no previous file with comments | « tools/metrics/actions/extract_actions.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698