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

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

Issue 622813002: [Manifest] Add metrics recording. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@screen_orientation_usage_count
Patch Set: Created 6 years, 2 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/actions/actions.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 01e6809e03ca3e89f81aeb43d388576ee5f0ddf2..77eeda4b964e7f395ebba727f3373ce6cef825c3 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -11317,6 +11317,37 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Manifest.FetchResult" enum="ManifestFetchResultType">
+ <owner>mlamouri@chromium.org</owner>
+ <summary>
+ Tracks whether the Manifest fetch succeed and why it failed if it failed.
+ </summary>
+</histogram>
+
+<histogram name="Manifest.HasProperty" enum="Boolean">
+ <owner>mlamouri@chromium.org</owner>
+ <summary>
+ Tracks which properties of a Manifest were present when it was parsed. If a
+ property can't be parsed, it will be recorded as not present. These
+ histograms will only be used if the Manifest was correctly fetched and
+ parsed and the parsed manifest is not empty.
+ </summary>
+</histogram>
+
+<histogram name="Manifest.IsEmpty" enum="Boolean">
+ <owner>mlamouri@chromium.org</owner>
+ <summary>Tracks whether the parsed Manifest is the empty Manifest.</summary>
+</histogram>
+
+<histogram name="Manifest.ParseSuccess" enum="Boolean">
+ <owner>mlamouri@chromium.org</owner>
+ <summary>
+ Tracks the Manifest parsing result. A failure will be recorded if the
+ Manifest was incorrectly structured. This doesn't take into account parse
+ failures for each individual properties.
+ </summary>
+</histogram>
+
<histogram name="Media.AcceleratedCompositingActive" enum="BooleanSuccess">
<obsolete>
Deprecated as of July 21, 2014.
@@ -45966,6 +45997,12 @@ To add a new entry, add it with any value and run test to compute valid value.
</int>
</enum>
+<enum name="ManifestFetchResultType" type="int">
+ <int value="0" label="Fetch succeeded"/>
+ <int value="1" label="Fetch failed because of empty URL"/>
+ <int value="2" label="Fetch failed (unspecified reason)"/>
+</enum>
+
<enum name="MappedCSSProperties" type="int">
<!-- Generated from ../../../third_party/WebKit/Source/core/frame/UseCounter.cpp -->
@@ -54313,6 +54350,17 @@ To add a new entry, add it with any value and run test to compute valid value.
<affected-histogram name="LocalStorage.RendererTimeToPrimeLocalStorage"/>
</histogram_suffixes>
+<histogram_suffixes name="ManifestProperties" separator=".">
+ <suffix name="name"/>
+ <suffix name="short_name"/>
+ <suffix name="start_url"/>
+ <suffix name="display"/>
+ <suffix name="orientation"/>
+ <suffix name="icons"/>
+ <suffix name="gcm_sender_id"/>
+ <affected-histogram name="Manifest.HasProperty"/>
+</histogram_suffixes>
+
<histogram_suffixes name="MediaAudioInputControllerTime" separator=".">
<suffix name="CloseTime" label="Measures the time taken for DoClose()."/>
<suffix name="CreateTime" label="Measures the time taken for DoCreate()."/>
« no previous file with comments | « tools/metrics/actions/actions.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698