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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2552153002: [BlobStorage] Enabling disk paging and direct storage. (Closed)
Patch Set: Comments from Mark Created 3 years, 11 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
Index: tools/metrics/histograms/histograms.xml
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index 291b5c1b79721542980849322e2bbe54d4cebe3d..e8b2c47c2abc34742f147bacb62cf90e945783d5 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -64296,6 +64296,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Storage.Blob.CleanupSuccess" enum="Boolean">
+ <owner>dmurph@chromium.org</owner>
+ <summary>
+ Recorded when the old blob storage directories are cleared. This occurs on
+ storage partition initialization, and is not recorded if there are no
+ directories to clear. The value indicates if the file operations were a
+ success.
+ </summary>
+</histogram>
+
<histogram name="Storage.Blob.CreateDirectoryResult" enum="PlatformFileError">
<owner>dmurph@chromium.org</owner>
<summary>
@@ -64346,6 +64356,28 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="Storage.Blob.MaxDiskSpace" units="MB">
+ <owner>dmurph@chromium.org</owner>
+ <summary>
+ Records the calculated max disk space the blob storage system can use.
+ Recorded on storage partition initialization.
+ </summary>
+</histogram>
+
+<histogram name="Storage.Blob.MaxDiskSpaceAdjustment"
+ enum="BlobStorageDiskSpaceAdjustment">
+ <owner>dmurph@chromium.org</owner>
+ <summary>
+ Recorded when the blob system changes adjustment types on it's disk size.
Mark P 2017/01/11 17:49:14 nit: it's -> its
dmurph 2017/01/11 18:25:29 Done.
+ The disk can either be Frozen, Adjusted (near min external available disk
+ space), or Normal. We record when we transition between these states, which
+ can happen after any file operations in the blob system (paging data to
Mark P 2017/01/11 17:49:14 nit: remove extra space
dmurph 2017/01/11 18:25:29 Done.
+ disk or saving a new blob directly to disk). This also records the
Mark P 2017/01/11 17:49:14 I don't think this last sentence adds anything.
dmurph 2017/01/11 18:25:29 Done.
+ difference between going from Frozen to Adjusted (raised), and going from
+ Normal to Adjusted (lowered).
+ </summary>
+</histogram>
+
<histogram name="Storage.Blob.PageFileSize" units="KB">
<owner>dmurph@chromium.org</owner>
<summary>
@@ -77700,6 +77732,25 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="5" label="Referenced blob broken"/>
</enum>
+<enum name="BlobStorageDiskSpaceAdjustment" type="int">
+ <summary>
+ When the blob storage system adjusts its max disk space, it can be frozen,
+ adjusted (near min external disk availability), or normal. These values
+ record the transitions between those states.
+ </summary>
+ <int value="0"
+ label="Disk usage frozen because minimum disk availability was reached."/>
+ <int value="1"
+ label="Max disk usage reduced from a normal state because disk space is
+ approaching minimum disk availability."/>
+ <int value="2"
+ label="Max disk usage increased from a frozen state to adjusted, as
+ minimum external disk availability is still close."/>
+ <int value="3"
+ label="Max disk usage restored to desired limit after being adjusted or
+ frozen."/>
+</enum>
+
<enum name="BluetoothAvailability" type="int">
<int value="0" label="Unexpected error"/>
<int value="1" label="Not available"/>

Powered by Google App Engine
This is Rietveld 408576698