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

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

Side-by-side diff isn't available for this file because of its large size.
Issue 1136763004: Add UMA data for memory pressure warning received for sync (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « components/sync_driver/sync_prefs.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 b13b369b4f61b5c71b0575e4c7a6cbc9620bfcd9..892b85bcbec1312e207c091b5376c78b23541cf0 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -41552,6 +41552,36 @@ Therefore, the affected-histogram name has to have at least one dot in it.
</summary>
</histogram>
+<histogram name="Sync.MemoryPressureWarningBeforeCleanShutdown" units="count">
+ <owner>gangwu@chromium.org</owner>
+ <summary>
+ Counts the number of times a user's sync service received a
+ MEMORY_PRESSURE_LEVEL_CRITICAL warning before the sync service shut down
+ cleanly. The sync service emits this number the next time the user's sync
+ service is started, which will likely happen the next time the user's
+ profile is opened after a Chrome restart. This count is emitted once per
+ user/profile. Things like browser crashes that implicitly bring down all
+ users' sync services will cause unclean shutdown tags to appear on all open
+ profiles, meaning that there will be multiple emissions to this histogram as
+ those profiles are re-opened.
+ </summary>
+</histogram>
+
+<histogram name="Sync.MemoryPressureWarningBeforeUncleanShutdown" units="count">
+ <owner>gangwu@chromium.org</owner>
+ <summary>
+ Counts the number of times a user's sync service received a
+ MEMORY_PRESSURE_LEVEL_CRITICAL warning before the sync service shut down
+ uncleanly. The sync service emits this number the next time the user's sync
+ service is started, which will likely happen the next time the user's
+ profile is opened after a Chrome restart. This count is emitted once per
+ user/profile. Things like browser crashes that implicitly bring down all
+ users' sync services will cause unclean shutdown tags to appear on all open
+ profiles, meaning that there will be multiple emissions to this histogram as
+ those profiles are re-opened.
+ </summary>
+</histogram>
+
<histogram name="Sync.NigoriMigrationState" enum="SyncNigoriMigrationState">
<owner>zea@chromium.org</owner>
<summary>Breakdown of sync's nigori node keystore migration state.</summary>
« no previous file with comments | « components/sync_driver/sync_prefs.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698