[Cronet] Delay StartNetLog and StopNetLog until native request context is initialized
[chromium-blink-merge.git] / tools / metrics / rappor / rappor.xml
blob54743a682e4812f77e88265d96a7a7b1520e0d28
1 <!--
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.
5 -->
7 <rappor-configuration>
8 <!--
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.
13 -->
15 <rappor-parameter-types>
16 <!--
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.
20 -->
22 <rappor-parameters name="COARSE_RAPPOR_TYPE">
23   <summary>
24     Stricter parameters for metrics collected from a broader population.
25   </summary>
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"/>
29 </rappor-parameters>
31 <rappor-parameters name="ETLD_PLUS_ONE">
32   <summary>
33     Parameters suitable for collecting the domain and registry of a URL from
34     UMA opt-in users.
35   </summary>
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"/>
39 </rappor-parameters>
41 </rappor-parameter-types>
43 <rappor-metrics>
44 <!-- Rappor metric definitions -->
46 <rappor-metric name="AppBanner.NativeApp.Dismissed" type="ETLD_PLUS_ONE">
47   <owner>dfalcantara@chromium.org</owner>
48   <summary>
49     The eTLD+1 of a URL that displayed a native app banner, which was explicitly
50     dismissed by the user.
51   </summary>
52 </rappor-metric>
54 <rappor-metric name="AppBanner.NativeApp.Installed" type="ETLD_PLUS_ONE">
55   <owner>dfalcantara@chromium.org</owner>
56   <summary>
57     The eTLD+1 of a URL that displayed a native app banner, which resulted in
58     the user installing the promoted application.
59   </summary>
60 </rappor-metric>
62 <rappor-metric name="AppBanner.NativeApp.Shown" type="ETLD_PLUS_ONE">
63   <owner>dfalcantara@chromium.org</owner>
64   <summary>
65     The eTLD+1 of a URL that displayed a native app banner.
66   </summary>
67 </rappor-metric>
69 <rappor-metric name="AppBanner.WebApp.Dismissed" type="ETLD_PLUS_ONE">
70   <owner>dfalcantara@chromium.org</owner>
71   <summary>
72     The eTLD+1 of a URL that displayed a web app banner, which was explicitly
73     dismissed by the user.
74   </summary>
75 </rappor-metric>
77 <rappor-metric name="AppBanner.WebApp.Installed" type="ETLD_PLUS_ONE">
78   <owner>dfalcantara@chromium.org</owner>
79   <summary>
80     The eTLD+1 of a URL that displayed a web app banner, which resulted in the
81     user installing the promoted application.
82   </summary>
83 </rappor-metric>
85 <rappor-metric name="AppBanner.WebApp.Shown" type="ETLD_PLUS_ONE">
86   <owner>dfalcantara@chromium.org</owner>
87   <summary>
88     The eTLD+1 of a URL that displayed a web app banner.
89   </summary>
90 </rappor-metric>
92 <rappor-metric name="Autofill.HighNumberOfHeuristicMismatches"
93     type="ETLD_PLUS_ONE">
94   <owner>mathp@chromium.org</owner>
95   <summary>
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.
98   </summary>
99 </rappor-metric>
101 <rappor-metric name="Autofill.HighNumberOfServerMismatches"
102     type="ETLD_PLUS_ONE">
103   <owner>mathp@chromium.org</owner>
104   <summary>
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.
107   </summary>
108 </rappor-metric>
110 <rappor-metric name="ContentSettings.MixedScript.DisplayedShield"
111     type="ETLD_PLUS_ONE">
112   <owner>lgarron@chromium.org</owner>
113   <summary>
114     The eTLD+1 of a URL that displayed a mixed script shield. Note: this does
115     *not* include pages with mixed scripts where the user has already clicked
116     through the shield.
117   </summary>
118 </rappor-metric>
120 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Denied.Url"
121     type="ETLD_PLUS_ONE">
122   <owner>miguelg@chromium.org</owner>
123   <summary>
124     The domain for which a Geolocation permission prompt was Denied.
125   </summary>
126 </rappor-metric>
128 <rappor-metric
129     name="ContentSettings.PermissionActions_Geolocation.Dismissed.Url"
130     type="ETLD_PLUS_ONE">
131   <owner>miguelg@chromium.org</owner>
132   <summary>
133     The domain for which a Geolocation permission prompt was Dismissed.
134   </summary>
135 </rappor-metric>
137 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Granted.Url"
138     type="ETLD_PLUS_ONE">
139   <owner>miguelg@chromium.org</owner>
140   <summary>
141     The domain for which a Geolocation permission prompt was accepted.
142   </summary>
143 </rappor-metric>
145 <rappor-metric name="ContentSettings.PermissionActions_Geolocation.Ignored.Url"
146     type="ETLD_PLUS_ONE">
147   <owner>miguelg@chromium.org</owner>
148   <summary>
149     The domain for which a Geolocation permission prompt was Ignored.
150   </summary>
151 </rappor-metric>
153 <rappor-metric
154     name="ContentSettings.PermissionActions_Notifications.Denied.Url"
155     type="ETLD_PLUS_ONE">
156   <owner>miguelg@chromium.org</owner>
157   <summary>
158     The domain for which a Notification permission prompt was Denied.
159   </summary>
160 </rappor-metric>
162 <rappor-metric
163     name="ContentSettings.PermissionActions_Notifications.Dismissed.Url"
164     type="ETLD_PLUS_ONE">
165   <owner>miguelg@chromium.org</owner>
166   <summary>
167     The domain for which a Notification permission prompt was Dismissed.
168   </summary>
169 </rappor-metric>
171 <rappor-metric
172     name="ContentSettings.PermissionActions_Notifications.Granted.Url"
173     type="ETLD_PLUS_ONE">
174   <owner>miguelg@chromium.org</owner>
175   <summary>
176     The domain for which a Notification permission prompt was accepted.
177   </summary>
178 </rappor-metric>
180 <rappor-metric
181     name="ContentSettings.PermissionActions_Notifications.Ignored.Url"
182     type="ETLD_PLUS_ONE">
183   <owner>miguelg@chromium.org</owner>
184   <summary>
185     The domain for which a Notification permission prompt was Ignored.
186   </summary>
187 </rappor-metric>
189 <rappor-metric name="ContentSettings.PermissionRequested.Geolocation.Url"
190     type="ETLD_PLUS_ONE">
191   <owner>miguelg@chromium.org</owner>
192   <summary>
193     The domain that issues a Geolocation permission prompt.
194   </summary>
195 </rappor-metric>
197 <rappor-metric name="ContentSettings.PermissionRequested.Notifications.Url"
198     type="ETLD_PLUS_ONE">
199   <owner>miguelg@chromium.org</owner>
200   <summary>
201     The domain that issues a Notification permission prompt.
202   </summary>
203 </rappor-metric>
205 <rappor-metric name="Extensions.PossibleAdInjection2" type="ETLD_PLUS_ONE">
206   <owner>rdevlin.cronin@chromium.org</owner>
207   <summary>
208     The eTLD+1 of a URL that might be doing ad injection.
209   </summary>
210 </rappor-metric>
212 <rappor-metric name="Launch.HomeScreen.Shortcut" type="ETLD_PLUS_ONE">
213   <owner>dfalcantara@chromium.org</owner>
214   <summary>
215     The eTLD+1 of a URL that was launched from the Android Home screen into a
216     tab.  This explicitly does not count relaunches via the Android Recents
217     menu.
218   </summary>
219 </rappor-metric>
221 <rappor-metric name="Launch.HomeScreen.Standalone" type="ETLD_PLUS_ONE">
222   <owner>dfalcantara@chromium.org</owner>
223   <summary>
224     The eTLD+1 of a URL that was launched from the Android Home screen into a
225     WebappActivity.  This explicitly does not count relaunches via the Android
226     Recents menu.
227   </summary>
228 </rappor-metric>
230 <rappor-metric name="Plugins.FlashOriginUrl" type="ETLD_PLUS_ONE">
231   <owner>wfh@chromium.org</owner>
232   <summary>
233     The domain and registry of the top level URL of a page which attempts to
234     launch a Flash NPAPI or PPAPI plugin, if the client has Flash installed
235     and enabled. Recorded when the plugin frame appears for each Flash object
236     found on the page, even if the plugin is click-to-play.
237   </summary>
238 </rappor-metric>
240 <rappor-metric name="Plugins.FlashUrl" type="ETLD_PLUS_ONE">
241   <owner>wfh@chromium.org</owner>
242   <summary>
243     The domain and registry of the URL from where Flash SWF or SPL content is
244     being loaded from, while attempting to launch a Flash (NPAPI or PPAPI)
245     plugin that is installed and enabled.  Recorded when the plugin frame
246     appears for each Flash object found in the page, even if the plugin is
247     click-to-play.
248   </summary>
249 </rappor-metric>
251 <rappor-metric name="Plugins.SilverlightOriginUrl" type="ETLD_PLUS_ONE">
252   <owner>wfh@chromium.org</owner>
253   <summary>
254     The domain and registry of the top level URL of a page which attempts to
255     launch a Silverlight NPAPI plugin, if the client has Silverlight installed
256     and enabled. Recorded when the plugin frame appears for each Silverlight
257     object found on the page, even if the plugin is click-to-play.
258   </summary>
259 </rappor-metric>
261 <rappor-metric name="PushMessaging.MessageReceived.Origin" type="ETLD_PLUS_ONE">
262   <owner>miguelg@chromium.org</owner>
263   <summary>
264     Push Messages received per Origin.
265   </summary>
266 </rappor-metric>
268 <rappor-metric name="Search.DefaultSearchProvider" type="ETLD_PLUS_ONE">
269   <owner>holte@chromium.org</owner>
270   <summary>
271     The domain and registry of the URL for the default search engine.
272     Recorded when a profile is opened or after a profile reset.
273   </summary>
274 </rappor-metric>
276 <rappor-metric name="ServiceWorker.ControlledPageUrl" type="ETLD_PLUS_ONE">
277   <owner>horo@chromium.org</owner>
278   <summary>
279     The domain and registry of the URL of the page which is controlled by a
280     ServiceWorker. Recorded when the page is loaded.
281   </summary>
282 </rappor-metric>
284 <rappor-metric name="Settings.FirstStartupPage" type="ETLD_PLUS_ONE">
285   <owner>holte@chromium.org</owner>
286   <summary>
287     The domain and registry of the URL of the first page opened on startup.
288     Recorded when a profile is loaded if preferences specify a fixed set of URLs
289     to open on startup.
290   </summary>
291 </rappor-metric>
293 <rappor-metric name="Settings.HomePage2" type="ETLD_PLUS_ONE">
294   <owner>holte@chromium.org</owner>
295   <summary>
296     The eTLD+1 of the prefs::kHomePage setting.  Recorded when a profile is
297     loaded if the URL is valid and prefs::kHomePageIsNewTabPage is false.
298   </summary>
299 </rappor-metric>
301 <rappor-metric name="Settings.NewTabPage" type="ETLD_PLUS_ONE">
302   <owner>holte@chromium.org</owner>
303   <summary>
304     The domain and registry of the URL chrome://newtab is rewritten to.
305     Recorded when a profile is loaded, if the URL is valid.
306   </summary>
307 </rappor-metric>
309 <rappor-metric name="interstitial.harmful.domain" type="COARSE_RAPPOR_TYPE">
310   <owner>nparker@chromium.org</owner>
311   <summary>
312     The domain+registry of a URL that triggered a safe-browsing UWS
313     interstitial.
314   </summary>
315 </rappor-metric>
317 <rappor-metric name="interstitial.malware.domain" type="COARSE_RAPPOR_TYPE">
318   <owner>nparker@chromium.org</owner>
319   <summary>
320     The domain+registry of a URL that triggered a safe-browsing malware
321     interstitial.
322   </summary>
323 </rappor-metric>
325 <rappor-metric name="interstitial.phishing.domain" type="COARSE_RAPPOR_TYPE">
326   <owner>nparker@chromium.org</owner>
327   <summary>
328     The domain+registry of a URL that triggered a safe-browsing phishing
329     interstitial.
330   </summary>
331 </rappor-metric>
333 <rappor-metric name="interstitial.ssl.domain" type="COARSE_RAPPOR_TYPE">
334   <owner>nparker@chromium.org</owner>
335   <summary>
336     The domain+registry of a URL that triggered an SSL interstitial.     Domains
337     for bad-clock warnings are not reported.
338   </summary>
339 </rappor-metric>
341 </rappor-metrics>
343 </rappor-configuration>