Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 1a4329edb1d661ed76faed9b1b07bc372cd1ea67..31cdda05995bd958456e016d10fdbcff13a6104b 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -331,6 +331,13 @@ other types of suffix sets. |
</summary> |
</histogram> |
+<histogram name="appcache.MainResourceResponseRetrieval" enum="BooleanSuccess"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Tracks the success rate of retrieving a main resource from the appcache. |
+ </summary> |
+</histogram> |
+ |
<histogram name="appcache.MissingManifestDetectedAtCallsite" |
enum="AppCacheErrorSite"> |
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
@@ -354,6 +361,13 @@ other types of suffix sets. |
</summary> |
</histogram> |
+<histogram name="appcache.SubResourceResponseRetrieval" enum="BooleanSuccess"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Tracks the success rate of retrieving a sub resource from the appcache. |
+ </summary> |
+</histogram> |
+ |
<histogram name="appcache.TaskQueueTime" units="milliseconds"> |
<owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
<summary> |
@@ -371,9 +385,23 @@ other types of suffix sets. |
<summary>AppCache update job result code.</summary> |
</histogram> |
-<histogram name="appcache.UpdateJobResult.Docs" enum="AppCacheUpdateJobResult"> |
- <owner>Please list the metric's owners. Add more owner tags as needed.</owner> |
- <summary>AppCache update job result code, only for docs.google.com.</summary> |
+<histogram name="appcache.UpdateProgressAtPointOfFaliure" units="percent"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary>Percent completion at point of failure of an update job.</summary> |
+</histogram> |
+ |
+<histogram name="appcache.UpdateWasOffOriginAtPointOfFailure" enum="Boolean"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Whether the resource causing the failure was from a different origin. |
+ </summary> |
+</histogram> |
+ |
+<histogram name="appcache.UpdateWasStalledAtPointOfFailure" enum="Boolean"> |
+ <owner>michaeln@chromium.org</owner> |
+ <summary> |
+ Whether any progresss had been made in the 5 minutes preceeding failure. |
+ </summary> |
</histogram> |
<histogram name="Apps.AppLaunch" enum="AppLaunch"> |
@@ -29219,6 +29247,7 @@ other types of suffix sets. |
<int value="5" label="Manifest Error"/> |
<int value="6" label="Network Error"/> |
<int value="7" label="Server Error"/> |
+ <int value="8" label="Cancelled"/> |
</enum> |
<enum name="AppLaunch" type="int"> |
@@ -41097,6 +41126,16 @@ other types of suffix sets. |
<affected-histogram name="DNS.ResolveSuccess"/> |
</fieldtrial> |
+<fieldtrial name="DocsSpecific" separator=""> |
+ <group name="Docs" label="Only for docs.google.com"/> |
+ <affected-histogram name="appcache.MainResourceResponseRetrieval"/> |
+ <affected-histogram name="appcache.SubResourceResponseRetrieval"/> |
+ <affected-histogram name="appcache.UpdateJobResult"/> |
+ <affected-histogram name="appcache.UpdateProgressAtPointOfFaliure"/> |
+ <affected-histogram name="appcache.UpdateWasOffOriginAtPointOfFailure"/> |
+ <affected-histogram name="appcache.UpdateWasStalledAtPointOfFailure"/> |
+</fieldtrial> |
+ |
<fieldtrial name="DomainGoogle" separator=""> |
<group name="Google" label="only Google cookies are recorded."/> |
<group name="Other" label="only NON-Google cookies are recorded."/> |