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

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

Issue 2952333003: History init: add metrics and skip migration. (Closed)
Patch Set: Created 3 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 | « components/history/core/browser/url_database.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 5a6b1ad2fdda81e89d18eb36b51790756ce68e57..459f8d03bdeded05ef2d0548b016bc31b058ff70 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -22605,6 +22605,20 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="History.AttemptedToFixProfileError">
+ <owner>brettw@chromium.org</owner>
+ <summary>
+ Logged whenever history database initialization fails. The frequency of
+ logging will tell you the total failure rate. True indicate that we think
+ the database is non-recoverable and it will be deleted. It should be
+ re-created the next time Chrome is started. False indicates we think the
+ error is temporary (like out of disk space or file locked). Chrome will run
+ with no history database and nothing will be done to try to fix the error.
+ See History.InitializationFailureStep for which particular step of history
+ initialization failed.
+ </summary>
+</histogram>
+
<histogram
name="History.ClearBrowsingData.HistoryNoticeShownInFooterWhenUpdated"
enum="BooleanShown">
@@ -22832,6 +22846,16 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="History.InitializationFailureStep" enum="HistoryInitStep">
+ <owner>brettw@chromium.org</owner>
+ <summary>
+ The phase of history initialization that failed. This histogram is only
+ logged on database initialization failure.
+ History.AttemptedToFixProfileError will tell how often initialization fails
+ overall.
+ </summary>
+</histogram>
+
<histogram name="History.InMemoryDBItemCount">
<owner>gab@chromium.org</owner>
<summary>
@@ -22956,6 +22980,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram name="History.MigrateFailureFromVersion">
+ <owner>brettw@chromium.org</owner>
+ <summary>
+ History database version from which history migration failed. If there are
+ higher than normal migration failures, this histogram will indicate which
+ migration step failed.
+ </summary>
+</histogram>
+
<histogram name="History.MonthlyHostCount">
<owner>shess@chromium.org</owner>
<summary>
@@ -98586,6 +98619,15 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</int>
</enum>
+<enum name="HistoryInitStep" type="int">
+ <int value="0" label="Open"/>
+ <int value="1" label="Transaction begin"/>
+ <int value="2" label="Meta table init"/>
+ <int value="3" label="Create tables"/>
+ <int value="4" label="Version check and migration (check History.MigrateFailureToVersion)"/>
+ <int value="5" label="Commit"/>
+</enum>
+
<enum name="HistoryPageView" type="int">
<int value="0" label="History"/>
<int value="1" label="Grouped Week (Obsolete Feb. 2017)"/>
« no previous file with comments | « components/history/core/browser/url_database.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698