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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 2807853002: Log metrics for loading SQLiteChannelIDStore (Closed)
Patch Set: Created 3 years, 8 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 07ea3437c777afe7928055acb7e3d351b2b33e69..f66fa31ef60fe2a96a657fd2093e210e916faf00 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -12739,6 +12739,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<summary>Number of certs loaded from domain bound cert database.</summary>
</histogram>
+<histogram name="DomainBoundCerts.DBLoadStatus"
+ enum="DomainBoundCerts.DBLoadStatus">
+ <owner>nharper@chromium.org</owner>
+ <summary>
+ The status ofloading the Channel ID database from disk. This histogram
mattm 2017/04/08 04:17:38 of loading
nharper 2017/04/10 19:29:49 Done.
+ records why the database failed to load, or that it loaded successfully.
+ </summary>
+</histogram>
+
<histogram name="DomainBoundCerts.DBLoadTime" units="ms">
<owner>mattm@chromium.org</owner>
<summary>Time spent loading domain bound cert database.</summary>
@@ -12754,6 +12763,14 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="DomainBoundCerts.DBVersion">
+ <owner>nharper@chromium.org</owner>
+ <summary>
+ The version number of the Channel ID database (before any migrations are
+ run).
+ </summary>
+</histogram>
+
<histogram name="DomainBoundCerts.GenerateCertTime" units="ms">
<obsolete>
Removed 4/2017.
@@ -88637,6 +88654,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<int value="2" label="Same Site Different Scheme Script"/>
</enum>
+<enum name="DomainBoundCerts.DBLoadStatus" type="int">
+ <int value="0" label="Database path doesn't exist and couldn't be created"/>
+ <int value="1" label="Unable to open database"/>
+ <int value="2" label="Failed to migrate db to current version"/>
+ <int value="3" label="Invalid SELECT statement to load db"/>
+ <int value="4" label="Successfully created new db"/>
+ <int value="5" label="Successfully loaded existing db"/>
+</enum>
+
<enum name="DomainBoundCerts.GetCertResult" type="int">
<int value="0" label="SYNC_SUCCESS"/>
<int value="1" label="ASYNC_SUCCESS"/>
« net/extras/sqlite/sqlite_channel_id_store.cc ('K') | « net/extras/sqlite/sqlite_channel_id_store.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698