diff options
author | zqiu@chromium.org <zqiu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-17 01:04:53 +0000 |
---|---|---|
committer | zqiu@chromium.org <zqiu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-05-17 01:04:53 +0000 |
commit | 2c637a39858876f8ad8016e382615b46b714ac91 (patch) | |
tree | 50265af462ed19225790412b84a71db2a7aa8688 /tools | |
parent | 95cfda38896dbd75f20e82f3e1ff847c0a9dfc07 (diff) | |
download | chromium_src-2c637a39858876f8ad8016e382615b46b714ac91.zip chromium_src-2c637a39858876f8ad8016e382615b46b714ac91.tar.gz chromium_src-2c637a39858876f8ad8016e382615b46b714ac91.tar.bz2 |
Add histograms for shill network metrics
Added histogram Network.Shill.UserInitiatedEvents for sampling
the number of user-initiated events in shill. Currently only
tracks the user-initated WIFI scans.
Added histogram Network.Shill.WiFi.TransmitBitrateMbps for sampling
the transmit bitrate for the wifi device. The bitrate is updated
every minutes when wifi is connected to a network.
Added histogram Network.Shill.WiFi.UserInitiatedConnectionResult
for sampling the outcome of user-initiated connection attempts.
This histogram is updated everytime the wifi connection is initiated
by the user.
Consolidate the histograms for DHCPOptionFailureDetected, where there
was one histogram per technology type. Instead, changed to one only
histogram, with each technology type as a bucket under the histogram.
BUG=chromium:368761,chromium:369135,chromium:369545
TEST=Start chrome, browse to chrome://histograms to make
sure these histograms exist after manually
initiate/establish a wifi network connection.
NOTRY=true
Review URL: https://codereview.chromium.org/273883003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@271135 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r-- | tools/metrics/histograms/histograms.xml | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml index ba4ab78..6e39bac 100644 --- a/tools/metrics/histograms/histograms.xml +++ b/tools/metrics/histograms/histograms.xml @@ -15373,6 +15373,9 @@ Therefore, the affected-histogram name has to have at least one dot in it. <histogram name="Network.Shill.Cellular.DHCPOptionFailureDetected" enum="NetworkDHCPOptionFailure"> + <obsolete> + Deprecated 5/2014, and replaced by Network.Shill.DHCPOptionFailureDetected. + </obsolete> <owner>quiche@chromium.org</owner> <summary> Chrome OS network metric that tracks the number of DHCP option failures @@ -15534,8 +15537,22 @@ Therefore, the affected-histogram name has to have at least one dot in it. </summary> </histogram> +<histogram name="Network.Shill.DHCPOptionFailureDetected" + enum="NetworkTechnology"> + <owner>zqiu@chromium.org</owner> + <summary> + Chrome OS network metric that tracks the number of DHCP option failures + encountered by Shill for each network technology. This indicates that Shill + is using minimal DHCP options due to suspected MTU issues on the return path + from the DHCP server back to the client. + </summary> +</histogram> + <histogram name="Network.Shill.Ethernet.DHCPOptionFailureDetected" enum="NetworkDHCPOptionFailure"> + <obsolete> + Deprecated 5/2014, and replaced by Network.Shill.DHCPOptionFailureDetected. + </obsolete> <owner>quiche@chromium.org</owner> <summary> Chrome OS network metric that tracks the number of DHCP option failures @@ -15749,6 +15766,13 @@ Therefore, the affected-histogram name has to have at least one dot in it. </summary> </histogram> +<histogram name="Network.Shill.UserInitiatedEvents" enum="UserInitiatedEvent"> + <owner>zqiu@chromium.org</owner> + <summary> + Chrome OS network metric that tracks the number of user-initiated events. + </summary> +</histogram> + <histogram name="Network.Shill.Vpn.Driver" enum="VPNDriver"> <owner>quiche@chromium.org</owner> <summary> @@ -15870,6 +15894,9 @@ Therefore, the affected-histogram name has to have at least one dot in it. <histogram name="Network.Shill.Wifi.DHCPOptionFailureDetected" enum="NetworkDHCPOptionFailure"> + <obsolete> + Deprecated 5/2014, and replaced by Network.Shill.DHCPOptionFailureDetected. + </obsolete> <owner>quiche@chromium.org</owner> <summary> Chrome OS network metric that tracks the number of DHCP option failures @@ -16123,8 +16150,29 @@ Therefore, the affected-histogram name has to have at least one dot in it. </summary> </histogram> +<histogram name="Network.Shill.WiFi.TransmitBitrateMbps" units="Mbps"> + <owner>zqiu@chromium.org</owner> + <summary> + Chrome OS network performance metric that tracks the transmit bitrate in + Mbps for the wifi device when it is connected to a network. The bitrate is + reported once every minute after the wifi connection is established. + </summary> +</histogram> + +<histogram name="Network.Shill.WiFi.UserInitiatedConnectionResult" + enum="ConnectionResult"> + <owner>zqiu@chromium.org</owner> + <summary> + Chrome OS network performance metric that tracks the result of + user-initiated wifi connection attempts. + </summary> +</histogram> + <histogram name="Network.Shill.WiMax.DHCPOptionFailureDetected" enum="NetworkDHCPOptionFailure"> + <obsolete> + Deprecated 5/2014, and replaced by Network.Shill.DHCPOptionFailureDetected. + </obsolete> <owner>quiche@chromium.org</owner> <summary> Chrome OS network metric that tracks the number of DHCP option failures @@ -32344,6 +32392,12 @@ Therefore, the affected-histogram name has to have at least one dot in it. <int value="1" label="GPU compositor"/> </enum> +<enum name="ConnectionResult" type="int"> + <int value="0" label="Success"/> + <int value="1" label="Failure"/> + <int value="2" label="Aborted"/> +</enum> + <enum name="ConnectionType" type="int"> <summary> Connection type as defined in net/base/connection_type_histograms.h @@ -38775,6 +38829,16 @@ Therefore, the affected-histogram name has to have at least one dot in it. <int value="14" label="HTTP_GET_FAILED"/> </enum> +<enum name="NetworkTechnology" type="int"> + <int value="0" label="Cellular"/> + <int value="1" label="Ethernet"/> + <int value="2" label="Ethernet EAP"/> + <int value="3" label="WiFi"/> + <int value="4" label="WiMax"/> + <int value="5" label="VPN"/> + <int value="6" label="Unknown"/> +</enum> + <enum name="NewTabPageActionAndroid" type="int"> <int value="0" label="Searched using the omnibox"/> <int value="1" label="Navigated to Google search homepage using the omnibox"/> @@ -43151,6 +43215,10 @@ Therefore, the affected-histogram name has to have at least one dot in it. <int value="10" label="kFileSystemScheme"/> </enum> +<enum name="UserInitiatedEvent" type="int"> + <int value="0" label="WiFi Scan"/> +</enum> + <enum name="UserSelectableSyncType" type="int"> <int value="0" label="Bookmarks"/> <int value="1" label="Preferences"/> |