Chromium Code Reviews| Index: tools/metrics/histograms/histograms.xml |
| diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
| index 5c8ba98eaa4111d7a69aacb742a3bd4df9a57499..6c1191c4a1e722dcfe0f6b620b9618dbeac77501 100644 |
| --- a/tools/metrics/histograms/histograms.xml |
| +++ b/tools/metrics/histograms/histograms.xml |
| @@ -7053,11 +7053,30 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
| </summary> |
| </histogram> |
| +<histogram name="GCM.APICallUnregister"> |
| + <owner>jianli@chromium.org</owner> |
| + <summary>Number of times when gcm.unregister API is called.</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 +7144,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> |
|
Alexei Svitkine (slow)
2014/05/08 21:21:57
Nit: "in a GCM registration request"
jianli
2014/05/08 21:26:07
Done.
|
| +</histogram> |
| + |
| <histogram name="GCM.RestoredIncomingMessages"> |
| <owner>zea@chromium.org</owner> |
| <summary> |
| @@ -7176,12 +7222,26 @@ Therefore, the affected-histogram name has to have at least one dot in it. |
| </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> |
| @@ -35210,6 +35270,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"/> |