summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authormnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-05 14:33:51 +0000
committermnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-05 14:33:51 +0000
commitccd2f30fc20902fe7323a340df800248fa6a32c1 (patch)
tree0490c9068607069cbc1b0444227641c629a8b8b6 /tools
parent290e182210614a19207a3b8e674803ba0b8264ec (diff)
downloadchromium_src-ccd2f30fc20902fe7323a340df800248fa6a32c1.zip
chromium_src-ccd2f30fc20902fe7323a340df800248fa6a32c1.tar.gz
chromium_src-ccd2f30fc20902fe7323a340df800248fa6a32c1.tar.bz2
Add UMA stats for initial user policy fetch on Chrome OS.
This collects timing data as well as error codes for initial policy fetches on Chrome OS. These block Profile creation, so we'd like to get some insight on how much delay this encurs in the field. BUG=271321 TEST=Log in to an enrolled device, check chrome://histograms Review URL: https://chromiumcodereview.appspot.com/23271009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221422 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/metrics/histograms/histograms.xml57
1 files changed, 57 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml
index c113f28..07d31f9 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -3071,6 +3071,47 @@ other types of suffix sets.
</summary>
</histogram>
+<histogram name="Enterprise.UserPolicyChromeOS.DelayInitialization"
+ units="milliseconds">
+ <summary>Initialization delay due to loading the user policy cache.</summary>
+</histogram>
+
+<histogram name="Enterprise.UserPolicyChromeOS.InitialFetch.ClientError"
+ enum="EnterpriseDeviceManagementStatus">
+ <summary>Policy client error during initial policy fetch.</summary>
+</histogram>
+
+<histogram
+ name="Enterprise.UserPolicyChromeOS.InitialFetch.DelayClientRegister"
+ units="milliseconds">
+ <summary>Delay for registering the client with the policy server.</summary>
+</histogram>
+
+<histogram name="Enterprise.UserPolicyChromeOS.InitialFetch.DelayOAuth2Token"
+ units="milliseconds">
+ <summary>Delay for minting an OAuth2 acccess token.</summary>
+</histogram>
+
+<histogram name="Enterprise.UserPolicyChromeOS.InitialFetch.DelayPolicyFetch"
+ units="milliseconds">
+ <summary>Delay for fetching policy from the policy server.</summary>
+</histogram>
+
+<histogram name="Enterprise.UserPolicyChromeOS.InitialFetch.DelayTotal"
+ units="milliseconds">
+ <summary>Total delay for the initial policy fetch.</summary>
+</histogram>
+
+<histogram name="Enterprise.UserPolicyChromeOS.InitialFetch.OAuth2Error"
+ enum="GoogleServiceAuthError">
+ <summary>Service error during OAuth2 access token fetch.</summary>
+</histogram>
+
+<histogram name="Enterprise.UserPolicyChromeOS.InitialFetch.OAuth2NetworkError"
+ enum="NetErrorCodes">
+ <summary>Network error during OAuth2 access token fetch.</summary>
+</histogram>
+
<histogram name="Event.CoalescedCount.Mouse">
<summary>Number of Mouse events coalesced.</summary>
</histogram>
@@ -21029,6 +21070,22 @@ other types of suffix sets.
<int value="10" label="USER_SUPPRESSED"/>
</enum>
+<enum name="GoogleServiceAuthError" type="int">
+ <int value="0" label="NONE"/>
+ <int value="1" label="INVALID_GAIA_CREDENTIALS"/>
+ <int value="2" label="USER_NOT_SIGNED_UP"/>
+ <int value="3" label="CONNECTION_FAILED"/>
+ <int value="4" label="CAPTCHA_REQUIRED"/>
+ <int value="5" label="ACCOUNT_DELETED"/>
+ <int value="6" label="ACCOUNT_DISABLED"/>
+ <int value="7" label="SERVICE_UNAVAILABLE"/>
+ <int value="8" label="TWO_FACTOR"/>
+ <int value="9" label="REQUEST_CANCELED"/>
+ <int value="10" label="HOSTED_NOT_ALLOWED"/>
+ <int value="11" label="UNEXPECTED_SERVICE_RESPONSE"/>
+ <int value="12" label="SERVICE_ERROR"/>
+</enum>
+
<enum name="HttpAuthCount" type="int">
<int value="0" label="Basic Start"/>
<int value="1" label="Basic Reject"/>