Skip to content

Commit

Permalink
Add UMA metrics for Chrome OS Bluetooth system daemon
Browse files Browse the repository at this point in the history
This adds the following histograms and their definitions.

[Histograms]
- BlueZ.AdapterLost
- BlueZ.NumberOfExistingAdvertisements

BUG=chromium:724720
[email protected]

(cherry picked from commit b5a0727)

Change-Id: I44e8cb0df131efff57582d5bbbda7abe2b16a97b
Reviewed-on: https://chromium-review.googlesource.com/722076
Commit-Queue: Miao-chen Chou <[email protected]>
Reviewed-by: Rahul Chaturvedi <[email protected]>
Reviewed-by: Robert Kaplow <[email protected]>
Cr-Original-Commit-Position: refs/heads/master@{#509544}
Reviewed-on: https://chromium-review.googlesource.com/728349
Reviewed-by: Miao-chen Chou <[email protected]>
Cr-Commit-Position: refs/branch-heads/3239@{#73}
Cr-Branched-From: adb61db-refs/heads/master@{#508578}
  • Loading branch information
mcchou-cr committed Oct 19, 2017
1 parent 5c56ee9 commit e40f3d2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tools/metrics/histograms/histograms.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7408,6 +7408,25 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>

<histogram name="BlueZ.AdapterLost" units="losses">
<owner>[email protected]</owner>
<summary>
This is specific to Chrome OS. Records an occurance of a Bluetooth adapter
being lost. This helps us better understand the Bluetooth controller drop
issue in the field.
</summary>
</histogram>

<histogram name="BlueZ.NumberOfExistingAdvertisements" units="advertisements">
<owner>[email protected]</owner>
<summary>
This is specific to Chrome OS. Records the number of existing advertisements
when registering for a new advertisement. This helps us better understand
the common amount of advertisments used and the registration failures due to
the limited number of advertisement slots.
</summary>
</histogram>

<histogram name="BlueZ.ReasonOfDisconnection" enum="BlueZReasonOfDisconnection">
<owner>[email protected]</owner>
<summary>
Expand Down

0 comments on commit e40f3d2

Please sign in to comment.