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

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

Issue 2558553002: GCM: Add Android UMA, and UMA for deleted/collapsed messages (Closed)
Patch Set: Address review comments and add Android logging Created 4 years 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 199b3e478a992b5a95d4b521681bff681b1bf5f9..c6d17857c377bf90efbd43e440eb662d395cc6a8 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -18854,9 +18854,20 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<histogram name="GCM.DataMessageReceived" units="messages">
<owner>peter@chromium.org</owner>
<summary>
- Number of DATA_MESSAGE messages for registered application IDs and
- DELETED_MESSAGES messages for any registration ID received from Google Cloud
- Messaging. Recorded when processing the received message.
+ Number of DATA_MESSAGE messages for registered application IDs received from
+ Google Cloud Messaging. Recorded when processing the received message. Prior
+ to M56 this also counted received DELETED_MESSAGES messages for any
+ registration ID.
+ </summary>
+</histogram>
+
+<histogram name="GCM.DataMessageReceivedHasCollapseKey"
+ enum="BooleanHasCollapseKey">
+ <owner>peter@chromium.org</owner>
+ <summary>
+ Records whether a non-empty collapse_key token is set for each received
+ DATA_MESSAGE message for registered application IDs from Google Cloud
+ Messaging. Recorded while processing the received message.
</summary>
</histogram>
@@ -18865,8 +18876,18 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<owner>peter@chromium.org</owner>
<summary>
Records whether a corresponding registration was found for each received
- DATA_MESSAGE or DELETED_MESSAGES message from Google Cloud Messaging.
- Recorded while processing the received message.
+ DATA_MESSAGE message from Google Cloud Messaging. Recorded while processing
+ the received message. Prior to M56 this also counted received
+ DELETED_MESSAGES messages.
+ </summary>
+</histogram>
+
+<histogram name="GCM.DeletedMessagesReceived" units="messages">
+ <owner>peter@chromium.org</owner>
+ <summary>
+ For every DELETED_MESSAGES message received from Google Cloud Messaging for
+ registered application IDs, this records the provided count of how many
Peter Beverloo 2016/12/07 19:36:20 "... registered application IDs..." - Is this corr
johnme 2016/12/07 20:00:37 Done - in fact reworded a bunch of these to be cle
+ messages were simultaneously deleted, or zero if the count is unknown.
</summary>
</histogram>
@@ -77029,6 +77050,11 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="1" label="Hardware accelerated"/>
</enum>
+<enum name="BooleanHasCollapseKey" type="int">
+ <int value="0" label="No collapse_key"/>
+ <int value="1" label="Has collapse_key"/>
+</enum>
+
<enum name="BooleanHasCrc" type="int">
<int value="0" label="No CRC"/>
<int value="1" label="Has CRC"/>
« components/gcm_driver/gcm_client_impl.cc ('K') | « google_apis/gcm/monitoring/gcm_stats_recorder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698