2 Copyright 2015 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file.
9 This file is used to generate a comprehensive list of Chrome rappor metrics
10 along with a detailed description for each histogram. See the design doc at
11 http://www.chromium.org/developers/design-documents/rappor
12 for a description of rappor metrics.
15 <rappor-parameter-types>
17 Parameters that rappor metrics can be collected with. This list should be
18 kept in sync with parameter type definitions in
19 components/rappor/rappor_service.cc.
22 <rappor-parameters name="COARSE_RAPPOR_TYPE">
24 Stricter parameters for metrics collected from a broader population.
26 <parameters num-cohorts="128" bytes="1" hash-functions="2" fake-prob="0.5"
27 fake-one-prob="0.5" one-coin-prob="0.75" zero-coin-prob="0.25"
28 reporting-level="COARSE"/>
31 <rappor-parameters name="ETLD_PLUS_ONE">
33 Parameters suitable for collecting the domain and registry of a URL from
36 <parameters num-cohorts="128" bytes="16" hash-functions="2" fake-prob="0.5"
37 fake-one-prob="0.5" one-coin-prob="0.75" zero-coin-prob="0.25"
38 reporting-level="FINE"/>
41 </rappor-parameter-types>
44 <!-- Rappor metric definitions -->
46 <rappor-metric name="AppBanner.NativeApp.Dismissed" type="ETLD_PLUS_ONE">
47 <owner>dfalcantara@chromium.org</owner>
49 The eTLD+1 of a URL that displayed a native app banner, which was explicitly
50 dismissed by the user.
54 <rappor-metric name="AppBanner.NativeApp.Installed" type="ETLD_PLUS_ONE">
55 <owner>dfalcantara@chromium.org</owner>
57 The eTLD+1 of a URL that displayed a native app banner, which resulted in
58 the user installing the promoted application.
62 <rappor-metric name="AppBanner.NativeApp.Shown" type="ETLD_PLUS_ONE">
63 <owner>dfalcantara@chromium.org</owner>
65 The eTLD+1 of a URL that displayed a native app banner.
69 <rappor-metric name="AppBanner.WebApp.Dismissed" type="ETLD_PLUS_ONE">
70 <owner>dfalcantara@chromium.org</owner>
72 The eTLD+1 of a URL that displayed a web app banner, which was explicitly
73 dismissed by the user.
77 <rappor-metric name="AppBanner.WebApp.Installed" type="ETLD_PLUS_ONE">
78 <owner>dfalcantara@chromium.org</owner>
80 The eTLD+1 of a URL that displayed a web app banner, which resulted in the
81 user installing the promoted application.
85 <rappor-metric name="AppBanner.WebApp.Shown" type="ETLD_PLUS_ONE">
86 <owner>dfalcantara@chromium.org</owner>
88 The eTLD+1 of a URL that displayed a web app banner.
92 <rappor-metric name="Autofill.HighNumberOfHeuristicMismatches"
94 <owner>mathp@chromium.org</owner>
96 The eTLD+1 of a URL for which there was a high number of mismatches for the
97 heuristic prediction of the form field types.
101 <rappor-metric name="Autofill.HighNumberOfServerMismatches"
102 type="ETLD_PLUS_ONE">
103 <owner>mathp@chromium.org</owner>
105 The eTLD+1 of a URL for which there was a high number of mismatches for the
106 server prediction of the form field types.
110 <rappor-metric name="Autofill.QueryResponseHasNoServerDataForForm"
111 type="ETLD_PLUS_ONE">
112 <owner>mathp@chromium.org</owner>
114 The eTLD+1 of a URL for which there was a server query response for which
115 the server had no data at all for at least one form.
119 <rappor-metric name="ContentSettings.MixedScript.DisplayedShield"
120 type="ETLD_PLUS_ONE">
121 <owner>lgarron@chromium.org</owner>
123 The eTLD+1 of a URL that displayed a mixed script shield. Note: this does
124 *not* include pages with mixed scripts where the user has already clicked
129 <rappor-metric name="ContentSettings.PermissionActions_Camera.Revoked.Url"
130 type="ETLD_PLUS_ONE">
131 <owner>jialiul@chromium.org</owner>
133 The domain for which a camera permission was revoked.
137 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Denied.Url"
138 type="ETLD_PLUS_ONE">
139 <owner>miguelg@chromium.org</owner>
141 The domain for which a Geolocation permission prompt was Denied.
146 name="ContentSettings.PermissionActions_Geolocation.Dismissed.Url"
147 type="ETLD_PLUS_ONE">
148 <owner>miguelg@chromium.org</owner>
150 The domain for which a Geolocation permission prompt was Dismissed.
154 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Granted.Url"
155 type="ETLD_PLUS_ONE">
156 <owner>miguelg@chromium.org</owner>
158 The domain for which a Geolocation permission prompt was accepted.
162 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Ignored.Url"
163 type="ETLD_PLUS_ONE">
164 <owner>miguelg@chromium.org</owner>
166 The domain for which a Geolocation permission prompt was Ignored.
170 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Revoked.Url"
171 type="ETLD_PLUS_ONE">
172 <owner>jialiul@chromium.org</owner>
174 The domain for which a Geolocation permission was revoked.
178 <rappor-metric name="ContentSettings.PermissionActions_Mic.Revoked.Url"
179 type="ETLD_PLUS_ONE">
180 <owner>jialiul@chromium.org</owner>
182 The domain for which a microphone permission was revoked.
187 name="ContentSettings.PermissionActions_Notifications.Denied.Url"
188 type="ETLD_PLUS_ONE">
189 <owner>miguelg@chromium.org</owner>
191 The domain for which a Notification permission prompt was Denied.
196 name="ContentSettings.PermissionActions_Notifications.Dismissed.Url"
197 type="ETLD_PLUS_ONE">
198 <owner>miguelg@chromium.org</owner>
200 The domain for which a Notification permission prompt was Dismissed.
205 name="ContentSettings.PermissionActions_Notifications.Granted.Url"
206 type="ETLD_PLUS_ONE">
207 <owner>miguelg@chromium.org</owner>
209 The domain for which a Notification permission prompt was accepted.
214 name="ContentSettings.PermissionActions_Notifications.Ignored.Url"
215 type="ETLD_PLUS_ONE">
216 <owner>miguelg@chromium.org</owner>
218 The domain for which a Notification permission prompt was Ignored.
223 name="ContentSettings.PermissionActions_Notifications.Revoked.Url"
224 type="ETLD_PLUS_ONE">
225 <owner>jialiul@chromium.org</owner>
227 The domain for which a Notification permission was revoked.
231 <rappor-metric name="ContentSettings.PermissionRequested.Geolocation.Url"
232 type="ETLD_PLUS_ONE">
233 <owner>miguelg@chromium.org</owner>
235 The domain that issues a Geolocation permission prompt.
239 <rappor-metric name="ContentSettings.PermissionRequested.Notifications.Url"
240 type="ETLD_PLUS_ONE">
241 <owner>miguelg@chromium.org</owner>
243 The domain that issues a Notification permission prompt.
247 <rappor-metric name="DeviceSensors.DeviceMotion" type="ETLD_PLUS_ONE">
248 <owner>timvolodine@chromium.org</owner>
250 The domain and registry of the URL that is using Device Motion API.
254 <rappor-metric name="DeviceSensors.DeviceOrientation" type="ETLD_PLUS_ONE">
255 <owner>timvolodine@chromium.org</owner>
257 The domain and registry of the URL that is using Device Orientation API.
261 <rappor-metric name="Extensions.PossibleAdInjection2" type="ETLD_PLUS_ONE">
262 <owner>rdevlin.cronin@chromium.org</owner>
264 The eTLD+1 of a URL that might be doing ad injection.
268 <rappor-metric name="Launch.HomeScreen.Shortcut" type="ETLD_PLUS_ONE">
269 <owner>dfalcantara@chromium.org</owner>
271 The eTLD+1 of a URL that was launched from the Android Home screen into a
272 tab. This explicitly does not count relaunches via the Android Recents
277 <rappor-metric name="Launch.HomeScreen.Standalone" type="ETLD_PLUS_ONE">
278 <owner>dfalcantara@chromium.org</owner>
280 The eTLD+1 of a URL that was launched from the Android Home screen into a
281 WebappActivity. This explicitly does not count relaunches via the Android
286 <rappor-metric name="Plugins.FlashOriginUrl" type="ETLD_PLUS_ONE">
287 <owner>wfh@chromium.org</owner>
289 The domain and registry of the top level URL of a page which attempts to
290 launch a Flash NPAPI or PPAPI plugin, if the client has Flash installed
291 and enabled. Recorded when the plugin frame appears for each Flash object
292 found on the page, even if the plugin is click-to-play.
296 <rappor-metric name="Plugins.FlashUrl" type="ETLD_PLUS_ONE">
297 <owner>wfh@chromium.org</owner>
299 The domain and registry of the URL from where Flash SWF or SPL content is
300 being loaded from, while attempting to launch a Flash (NPAPI or PPAPI)
301 plugin that is installed and enabled. Recorded when the plugin frame
302 appears for each Flash object found in the page, even if the plugin is
307 <rappor-metric name="Plugins.SilverlightOriginUrl" type="ETLD_PLUS_ONE">
308 <owner>wfh@chromium.org</owner>
310 The domain and registry of the top level URL of a page which attempts to
311 launch a Silverlight NPAPI plugin, if the client has Silverlight installed
312 and enabled. Recorded when the plugin frame appears for each Silverlight
313 object found on the page, even if the plugin is click-to-play.
317 <rappor-metric name="PushMessaging.GenericNotificationShown.Origin"
318 type="ETLD_PLUS_ONE">
319 <owner>miguelg@chromium.org</owner>
321 Number of times the generic (forced) notification was shown per origin.
322 This happens if the site uses the push api but does not generate a
323 notification of their own.
327 <rappor-metric name="PushMessaging.MessageReceived.Origin" type="ETLD_PLUS_ONE">
328 <owner>miguelg@chromium.org</owner>
330 Push Messages received per Origin.
334 <rappor-metric name="Search.DefaultSearchProvider" type="ETLD_PLUS_ONE">
335 <owner>holte@chromium.org</owner>
337 The domain and registry of the URL for the default search engine.
338 Recorded when a profile is opened or after a profile reset.
342 <rappor-metric name="ServiceWorker.ControlledPageUrl" type="ETLD_PLUS_ONE">
343 <owner>horo@chromium.org</owner>
345 The domain and registry of the URL of the page which is controlled by a
346 ServiceWorker. Recorded when the page is loaded.
350 <rappor-metric name="Settings.FirstStartupPage" type="ETLD_PLUS_ONE">
351 <owner>holte@chromium.org</owner>
353 The domain and registry of the URL of the first page opened on startup.
354 Recorded when a profile is loaded if preferences specify a fixed set of URLs
359 <rappor-metric name="Settings.HomePage2" type="ETLD_PLUS_ONE">
360 <owner>holte@chromium.org</owner>
362 The eTLD+1 of the prefs::kHomePage setting. Recorded when a profile is
363 loaded if the URL is valid and prefs::kHomePageIsNewTabPage is false.
367 <rappor-metric name="Settings.NewTabPage" type="ETLD_PLUS_ONE">
368 <owner>holte@chromium.org</owner>
370 The domain and registry of the URL chrome://newtab is rewritten to.
371 Recorded when a profile is loaded, if the URL is valid.
375 <rappor-metric name="SoftwareReporter.FoundUwS" type="COARSE_RAPPOR_TYPE">
376 <owner>mad@chromium.org</owner>
378 The IDs of unwanted software found by the software reporter tool.
382 <rappor-metric name="WebComponents.DocumentRegisterElement"
383 type="ETLD_PLUS_ONE">
384 <owner>kojii@chromium.org</owner>
386 The host of a URL that used Document::RegisterElement().
390 <rappor-metric name="WebComponents.ElementCreateShadowRoot"
391 type="ETLD_PLUS_ONE">
392 <owner>kojii@chromium.org</owner>
394 The host of a URL that used Element::CreateShadowRoot().
398 <rappor-metric name="interstitial.harmful.domain" type="COARSE_RAPPOR_TYPE">
399 <owner>nparker@chromium.org</owner>
401 The domain+registry of a URL that triggered a safe-browsing UWS
406 <rappor-metric name="interstitial.malware.domain" type="COARSE_RAPPOR_TYPE">
407 <owner>nparker@chromium.org</owner>
409 The domain+registry of a URL that triggered a safe-browsing malware
414 <rappor-metric name="interstitial.phishing.domain" type="COARSE_RAPPOR_TYPE">
415 <owner>nparker@chromium.org</owner>
417 The domain+registry of a URL that triggered a safe-browsing phishing
422 <rappor-metric name="interstitial.ssl.domain" type="COARSE_RAPPOR_TYPE">
423 <owner>nparker@chromium.org</owner>
425 The domain+registry of a URL that triggered an SSL interstitial. Domains
426 for bad-clock warnings are not reported.
432 </rappor-configuration>