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

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

Issue 2036123003: [HttpCache] Record age of validated and updated stale cache entries (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments from PS3 Created 4 years, 6 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 | « net/http/http_cache_transaction.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 b98c633b47018590ef267b5e0445b636cf2631b6..6c24579252caaf27b473810779886a10b4d92825 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -17955,6 +17955,43 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="HttpCache.StaleEntry.Updated.Age" units="seconds">
+ <owner>jkarlin@chromium.org</owner>
+ <summary>
+ For each http cache transaction for which a validation attempt is made due
+ to a stale entry and is updated (e.g., 200), records the age of the entry in
+ seconds.
+ </summary>
+</histogram>
+
+<histogram name="HttpCache.StaleEntry.Updated.AgeInFreshnessPeriods" units="%">
+ <owner>jkarlin@chromium.org</owner>
+ <summary>
+ For each http cache transaction for which a validation attempt is made due
+ to a stale entry and is updated (e.g., 200), records the age of the entry as
+ percentage of freshness period.
+ </summary>
+</histogram>
+
+<histogram name="HttpCache.StaleEntry.Validated.Age" units="seconds">
+ <owner>jkarlin@chromium.org</owner>
+ <summary>
+ For each http cache transaction for which a validation attempt is made due
+ to a stale entry and is validated (304), records the age of the entry in
+ seconds.
+ </summary>
+</histogram>
+
+<histogram name="HttpCache.StaleEntry.Validated.AgeInFreshnessPeriods"
+ units="%">
+ <owner>jkarlin@chromium.org</owner>
+ <summary>
+ For each http cache transaction for which a validation attempt is made due
+ to a stale entry and is validated (304), records the age of the entry as
+ percentage of freshness period.
+ </summary>
+</histogram>
+
<histogram name="HttpCache.ValidationCause" enum="HttpCacheValidationCause">
<owner>jkarlin@chromium.org</owner>
<summary>For each validation attempt, the cause for the validation.</summary>
« no previous file with comments | « net/http/http_cache_transaction.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698