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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 160703002: [GCM] Track connection failures properly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 10 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 | « google_apis/gcm/engine/mcs_client_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 79e13f489299db9ada2aeb35db67c8699786dee9..1023a3d7d32c4905fb234b434d60b386fcd455e3 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -5505,6 +5505,24 @@ other types of suffix sets.
<summary>Net error results from GCM connection attempts.</summary>
</histogram>
+<histogram name="GCM.ConnectionResetReason" enum="GCMConnectionResetReason">
+ <summary>Reasons for GCM connection resets.</summary>
+</histogram>
+
+<histogram name="GCM.ConnectionSuccessRate">
+ <summary>
+ GCM connection success rate. Does not take into account login success. See
+ GCM.ConnectionFailureErrorCode for a breakdown of connection failure
+ reasons.
+ </summary>
+</histogram>
+
+<histogram name="GCM.ConnectionUpTime" units="milliseconds">
+ <summary>
+ Time (from login until reset) that a GCM connection was active.
+ </summary>
+</histogram>
+
<histogram name="GCM.NumThrottledApps">
<summary>
Number of applications hitting GCM per-app outstanding message limits at
@@ -26468,6 +26486,13 @@ other types of suffix sets.
<int value="6" label="Zero ID or token"/>
</enum>
+<enum name="GCMConnectionResetReason" type="int">
+ <int value="0" label="Login failure"/>
+ <int value="1" label="Close command"/>
+ <int value="2" label="Heartbeat failure"/>
+ <int value="3" label="Socket failure"/>
+</enum>
+
<enum name="GCMRegistrationRequestStatus" type="int">
<int value="0" label="Success (this is not logged currently)"/>
<int value="1" label="Invalid parameters"/>
« no previous file with comments | « google_apis/gcm/engine/mcs_client_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698