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

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

Issue 2912633002: bluetooth: macOS: Adding histograms for NSError values (Closed)
Patch Set: . Created 3 years, 6 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
« tools/metrics/histograms/enums.xml ('K') | « tools/metrics/histograms/enums.xml ('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 8295bb05a3698cfc2c07c47947e6f9e1046fab73..2c45af4f7a158c9a8fc9793985740a5cbab36f7b 100644
--- a/tools/metrics/histograms/histograms.xml
+++ b/tools/metrics/histograms/histograms.xml
@@ -6313,6 +6313,19 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
</summary>
</histogram>
+<histogram base="true" name="Bluetooth.Web.MacOS.Errors"
+ enum="WebBluetoothMacOSErrors">
+<!-- Name completed by histogram_suffixes name="WebBluetoothMacOSAPIs" -->
+
+ <owner>scheib@chromium.org</owner>
+ <owner>device-dev@chromium.org</owner>
+ <summary>
+ Records how many times each macOS GATT error has occured. The results will
+ be used to determine how commun this errors are and if we need to provide
+ better error messages to the users.
+ </summary>
+</histogram>
+
<histogram name="Bluetooth.Web.RequestDevice.Filters.Count" units="filters">
<owner>jyasskin@chromium.org</owner>
<owner>ortuno@chromium.org</owner>
@@ -95707,6 +95720,24 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries.
<affected-histogram name="WebApk.ShellApkVersion"/>
</histogram_suffixes>
+<histogram_suffixes name="WebBluetoothMacOSAPIs" separator=".">
+ <suffix name="DidFailToConnectToPeripheral"
+ label="Failed to connect to peripheral"/>
+ <suffix name="DidDisconnectPeripheral" label="Disconnected from peripheral"/>
+ <suffix name="DidDiscoverPrimaryServices"
+ label="Discovered primary services"/>
+ <suffix name="DidDiscoverCharacteristics" label="Discovered characteristics"/>
+ <suffix name="DidUpdateValue" label="Updated value"/>
+ <suffix name="DidWriteValue" label="Wrote value value"/>
+ <suffix name="DidUpdateNotificationState" label="Updated notification state"/>
+ <suffix name="DidDiscoverDescriptors" label="Discovered descriptors"/>
+ <suffix name="DidUpdateValueForDescriptor"
+ label="Updated value for descriptor"/>
+ <suffix name="DidWriteValueForDescriptor"
+ label="Wrote value value for descriptor"/>
+ <affected-histogram name="Bluetooth.Web.MacOS.Errors"/>
+</histogram_suffixes>
+
<histogram_suffixes name="WebFontFamily" separator="_">
<suffix name="roboto" label="Roboto font"/>
<suffix name="opensans" label="Open Sans font"/>
« tools/metrics/histograms/enums.xml ('K') | « tools/metrics/histograms/enums.xml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698