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

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

Issue 2954593002: History init: add metrics and skip migration. (Closed)
Patch Set: Fixes 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 | « tools/metrics/histograms/enums.xml ('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 78a757d7251b25850c11d988425f1852ccb3ed1e..9bbad3299b87f97d5aa202a970650bb323a3eea5 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -23996,6 +23996,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">
@@ -24233,6 +24247,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>
@@ -24357,6 +24381,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 which history migration failed. If
yzshen1 2017/06/23 00:54:09 nit: duplicate "which"
+ 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>
« no previous file with comments | « tools/metrics/histograms/enums.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698