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

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

Issue 123453004: [GCM] Add connection/persistent store metric collection (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Self review Created 6 years, 12 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/engine/rmq_store.cc ('K') | « google_apis/gcm/engine/rmq_store.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 b1a1badf912caea46a4a6cb7426b2b5039295bc9..e6ae75068ef6aa7c5cc3b775341863285395195a 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -5346,6 +5346,52 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="GCM.ConnectionDisconnectErrorCode" enum="NetErrorCodes">
+ <summary>Net error results from GCM disconnect events.</summary>
+</histogram>
+
+<histogram name="GCM.ConnectionFailureErrorCode" enum="NetErrorCodes">
+ <summary>Net error results from GCM connection attempts.</summary>
+</histogram>
+
+<histogram name="GCM.NumUsers">
+ <summary>
+ Number of GCM users associated with this client at startup time.
+ </summary>
+</histogram>
+
+<histogram name="GCM.RestoredIncomingMessages">
+ <summary>
+ Number of unacknowledged incoming messages restored from the persistent
+ store at startup.
+ </summary>
+</histogram>
+
+<histogram name="GCM.RestoredOutgoingMessages">
+ <summary>
+ Number of pending outgoing messages restored from the persistent store at
+ startup.
+ </summary>
+</histogram>
+
+<histogram name="GCM.StoreLoadSucceeded" enum="BooleanSuccess">
+ <summary>
+ Success indicates successfully loading an initialized persistent GCM store
+ at startup time. Failure indicates a failure loading the store.
+ </summary>
+</histogram>
+
+<histogram name="GCM.StoreSizeKB" units="kilobytes">
+ <summary>Size of the GCM persistent store in kilobytes at startup.</summary>
+</histogram>
+
+<histogram name="GCM.StoreUpdateSucceeded" enum="BooleanSuccess">
+ <summary>
+ Success indicates successfully updating the GCM persistent store on message
+ update. Failure indicates a failure updating the persistence store.
+ </summary>
+</histogram>
+
<histogram name="GData.AuthSuccess" enum="GDataAuthResult">
<summary>Result of the authentication for Drive.</summary>
</histogram>
« google_apis/gcm/engine/rmq_store.cc ('K') | « google_apis/gcm/engine/rmq_store.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698