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

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

Issue 270783002: [GCM] Add more UMA to GCM (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix trybots Created 6 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
« google_apis/gcm/gcm_client_impl.cc ('K') | « google_apis/gcm/gcm_client_impl.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 a1ecb6fedcb8e7ce414b0b71c3e7773fe31d2ab6..c7a029ef0e88b642e87a1cf15eedf4e9ce67a51a 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -7053,11 +7053,25 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="GCM.CheckinCompleteTime" units="milliseconds">
+ <owner>jianli@chromium.org</owner>
+ <summary>
+ Length of time taken to complete a GCM checkin request successfully. If the
+ checkin is retried multiple times, the length of time is counted for the
+ last successful retry.
+ </summary>
+</histogram>
+
<histogram name="GCM.CheckinRequestStatus" enum="GCMCheckinRequestStatus">
<owner>juyik@chromium.org</owner>
<summary>Status code of the outcome of a GCM checkin request.</summary>
</histogram>
+<histogram name="GCM.CheckinRetryNumber">
+ <owner>jianli@chromium.org</owner>
+ <summary>Number of retries before a GCM checkin succeeds.</summary>
+</histogram>
+
<histogram name="GCM.ConnectedViaProxy" enum="Boolean">
<owner>zea@chromium.org</owner>
<summary>Whether the GCM connection was made via a proxy or not.</summary>
@@ -7125,12 +7139,39 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="GCM.OutgoingMessageTTL" enum="GCMOutgoingMessageTTLCategory">
+ <owner>jianli@chromium.org</owner>
+ <summary>
+ Category of TTL specified in the outgoing message: 0, less than or equal to
+ 1 minute, less than or equal to 1 hour and etc.
+ </summary>
+</histogram>
+
+<histogram name="GCM.RegistrationCompleteTime" units="milliseconds">
+ <owner>jianli@chromium.org</owner>
+ <summary>
+ Length of time taken to complete a GCM registration request successfully. If
+ the registration is retried multiple times, the length of time is counted
+ for the last successful retry.
+ </summary>
+</histogram>
+
<histogram name="GCM.RegistrationRequestStatus"
enum="GCMRegistrationRequestStatus">
<owner>juyik@chromium.org</owner>
<summary>Status code of the outcome of a GCM registration request.</summary>
</histogram>
+<histogram name="GCM.RegistrationRetryNumber">
+ <owner>jianli@chromium.org</owner>
+ <summary>Number of retries before a GCM registration succeeds.</summary>
+</histogram>
+
+<histogram name="GCM.RegistrationSenderNumber">
+ <owner>jianli@chromium.org</owner>
+ <summary>Number of senders specified in registration request.</summary>
+</histogram>
+
<histogram name="GCM.RestoredIncomingMessages">
<owner>zea@chromium.org</owner>
<summary>
@@ -7176,12 +7217,31 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="GCM.UnregisterAPICall">
+ <owner>jianli@chromium.org</owner>
+ <summary>Number of times when gcm.unregister is called.</summary>
+</histogram>
+
+<histogram name="GCM.UnregistrationCompleteTime" units="milliseconds">
+ <owner>jianli@chromium.org</owner>
+ <summary>
+ Length of time taken to complete a GCM unregistration request successfully.
+ If the unregistration is retried multiple times, the length of time is
+ counted for the last successful retry.
+ </summary>
+</histogram>
+
<histogram name="GCM.UnregistrationRequestStatus"
enum="GCMUnregistrationRequestStatus">
<owner>Please list the metric's owners. Add more owner tags as needed.</owner>
<summary>Status code of the outcome of a GCM unregistration request.</summary>
</histogram>
+<histogram name="GCM.UnregistrationRetryNumber">
+ <owner>jianli@chromium.org</owner>
+ <summary>Number of retries before a GCM unregistration succeeds.</summary>
+</histogram>
+
<histogram name="GCMInvalidations.IncomingMessageStatus"
enum="GCMInvalidationsIncomingMessageStatus">
<owner>pavely@chromium.org</owner>
@@ -35120,6 +35180,16 @@ Therefore, the affected-histogram name has to have at least one dot in it.
<int value="3" label="HTTP Post failed"/>
</enum>
+<enum name="GCMOutgoingMessageTTLCategory" type="int">
+ <int value="0" label="Zero"/>
+ <int value="1" label="Less than or equal to 1 minute"/>
+ <int value="2" label="Less than or equal to 1 hour"/>
+ <int value="3" label="Less than or equal to 1 day"/>
+ <int value="4" label="Less than or equal to 1 week"/>
+ <int value="5" label="More than 1 week but less than maximum"/>
+ <int value="6" label="Default or maximium time"/>
+</enum>
+
<enum name="GCMRegistrationRequestStatus" type="int">
<int value="0" label="Success (this is not logged currently)"/>
<int value="1" label="Invalid parameters"/>
« google_apis/gcm/gcm_client_impl.cc ('K') | « google_apis/gcm/gcm_client_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698