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

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

Issue 1777793002: Define a few simple UMA metrics for the component updater. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « components/component_updater/component_updater_service_unittest.cc ('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 87051080d7ba4c8c09251e4b3b28eac4f62c4ecf..d36f2b50a84ecdb71328ee654bc2d1ae8a100137 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -5138,6 +5138,28 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Number of tries before successful ping. 99 means giving up.</summary>
</histogram>
+<histogram name="ComponentUpdater.Calls" enum="ComponentUpdaterCalls">
+ <owner>sorin@chromium.org</owner>
+ <summary>
+ The number of times the component updater called UpdateClient::Install or
+ UpdateClient::Update. These correspond to the number of manual component
+ update checks performed as a result of a user action, and the number of
+ automated component update checks.
+ </summary>
+</histogram>
+
+<histogram name="ComponentUpdater.UpdateCompleteResult" enum="BooleanError">
+ <owner>sorin@chromium.org</owner>
+ <summary>The result of an install or an update check.</summary>
+</histogram>
+
+<histogram name="ComponentUpdater.UpdateCompleteTime" units="ms">
+ <owner>sorin@chromium.org</owner>
+ <summary>
+ Time to complete an Install or an Update component update call.
+ </summary>
+</histogram>
+
<histogram
name="Compositing.Browser.DisplayListRecordingSource.UpdateInvalidatedAreaPerMs"
units="pixels/ms">
@@ -61151,6 +61173,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="2" label="Successful first layout"/>
</enum>
+<enum name="ComponentUpdaterCalls" type="int">
+ <int value="0" label="Install"/>
+ <int value="1" label="Update"/>
+</enum>
+
<enum name="CompositedScrolling" type="int">
<int value="0" label="Is scrollable area"/>
<int value="1" label="Needs to be stacking container"/>
« no previous file with comments | « components/component_updater/component_updater_service_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698