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

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

Issue 2007663002: Quota: Add metrics about the age and amount of data stored in temporary storage, and a metric about… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 7 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 | « storage/browser/quota/quota_manager.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 2d0d80d164365bdb260598c793fae361a22ce5a6..db3a473bcae61c788f3cb554cd4ec8110b6d2468 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -42965,8 +42965,25 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Quota.AgeOfDataInDays" units="days">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ How many kilobytes are how old. Similar to |AgeOfOrigin| except a sample is
+ added for each kilobyte of an origin's data. Logged hourly for all origins
+ with stored data.
+ </summary>
+</histogram>
+
+<histogram name="Quota.AgeOfOriginInDays" units="days">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ How many days it's been since an origin's temporary storage has been
+ accessed. Logged hourly for all origins with stored data.
+ </summary>
+</histogram>
+
<histogram name="Quota.AvailableDiskSpace" units="MB">
- <owner>micaheln@chromium.org</owner>
+ <owner>michaeln@chromium.org</owner>
<summary>
Amount of free disk space for the storage directory. Logged at irregular
intervals.
@@ -43111,6 +43128,18 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Number of unlimited origins using temporary storage.</summary>
</histogram>
+<histogram name="Quota.QuotaForOrigin" units="MB">
+ <owner>michaeln@chromium.org</owner>
+ <summary>
+ The quota value computed for an origin using temporary storage. Logged at
+ irregular intervals. (In the process of writing new data, storage systems
+ consult the quota system for &quot;usage and quota&quot; to determine if
+ there is sufficient space available for the new data. This value is logged
+ at the time of that consultation. The frequency is dependent on how
+ individual websites use the various storage apis.)
+ </summary>
+</histogram>
+
<histogram name="Quota.SkippedEvictionRoundsPerHour">
<owner>tzik@chromium.org</owner>
<summary>Number of skipped eviction rounds in an hour.</summary>
@@ -43143,7 +43172,7 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</histogram>
<histogram name="Quota.TotalDiskSpace" units="MB">
- <owner>micaheln@chromium.org</owner>
+ <owner>michaeln@chromium.org</owner>
<summary>
Total disk space for the storage directory. Logged at irregular intervals.
</summary>
« no previous file with comments | « storage/browser/quota/quota_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698