This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Sync] Add Sync.InitialState UMA metric.
We don't know for sure whether sync will succeed at starting up at initialization time, but we can inspect and report on the state of various flags. BUG=555113 Review URL: https://codereview.chromium.org/1463583008 Cr-Commit-Position: refs/heads/master@{#362455}
- Loading branch information
maxbogue
authored and
Commit bot
committed
Dec 1, 2015
1 parent
2bd1f02
commit 33a3aac
Showing
3 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47690,6 +47690,18 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. | |
</summary> | ||
</histogram> | ||
|
||
<histogram name="Sync.InitialState" enum="SyncInitialState"> | ||
<owner>[email protected]</owner> | ||
<summary> | ||
An approximate state of sync at startup. Logs a few reasons sync definitely | ||
wouldn't be able to start, or that it probably can start. The user having | ||
turned off sync on mobile will be logged as "turned off by user". | ||
A dashboard stop and clear will fall under "turned off and setup not | ||
completed". See the SyncInitialState enum in profile_sync_service.h for | ||
more information. | ||
</summary> | ||
</histogram> | ||
|
||
<histogram name="Sync.InvalidationSessionsAndroid" enum="BooleanHit"> | ||
<owner>[email protected]</owner> | ||
<summary> | ||
|
@@ -76856,6 +76868,15 @@ To add a new entry, add it with any value and run test to compute valid value. | |
<int value="3" label="Disabled"/> | ||
</enum> | ||
|
||
<enum name="SyncInitialState" type="int"> | ||
<int value="0" label="Can attempt to start"/> | ||
<int value="1" label="No signed in user"/> | ||
<int value="2" label="Turned off by user"/> | ||
<int value="3" label="Turned off and setup not completed"/> | ||
<int value="4" label="Must confirm sync settings"/> | ||
<int value="5" label="Disallowed by enterprise policy"/> | ||
</enum> | ||
|
||
<enum name="SyncKeystoreDecryptionFailure" type="int"> | ||
<int value="0" label="No keystore key"/> | ||
<int value="1" label="Unknown reason"/> | ||
|