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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 158023007: Add GCM check in status code metric collection. We also decided to collect registration success sig… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . 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/registration_request.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 578c8dc567b044c178ebb31f1fc7462e87e6c80e..6aad56748bcd3c263ebf7138da0b29fae5d56376 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -5500,6 +5500,10 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="GCM.CheckinRequestStatus" enum="GCMCheckinRequestStatus">
+ <summary>Status code of the outcome of a GCM checkin request.</summary>
+</histogram>
+
<histogram name="GCM.ConnectionDisconnectErrorCode" enum="NetErrorCodes">
<summary>Net error results from GCM disconnect events.</summary>
</histogram>
@@ -26417,6 +26421,16 @@ other types of suffix sets.
<int value="8" label="Overflow"/>
</enum>
+<enum name="GCMCheckinRequestStatus" type="int">
+ <int value="0" label="Success"/>
+ <int value="1" label="URL fetching failed"/>
+ <int value="2" label="HTTP bad request"/>
+ <int value="3" label="HTTP unauthorized"/>
+ <int value="4" label="HTTP not OK"/>
+ <int value="5" label="Response parsing failed"/>
+ <int value="6" label="Zero ID or token"/>
+</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/registration_request.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698