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

Side by Side Diff: tools/metrics/rappor/rappor.xml

Issue 925753002: Add pretty printing for rappor.xml (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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:
View unified diff | Download patch
OLDNEW
1 <!-- 1 <!--
2 Copyright 2014 The Chromium Authors. All rights reserved. 2 Copyright 2014 The Chromium Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style license that can be 3 Use of this source code is governed by a BSD-style license that can be
4 found in the LICENSE file. 4 found in the LICENSE file.
5 --> 5 -->
6 6
7 <rappor-configuration>
7 <!-- 8 <!--
8 This file is used to generate a comprehensive list of Chrome rappor metrics 9 This file is used to generate a comprehensive list of Chrome rappor metrics
9 along with a detailed description for each histogram. See the design doc at 10 along with a detailed description for each histogram. See the design doc at
10 http://www.chromium.org/developers/design-documents/rappor 11 http://www.chromium.org/developers/design-documents/rappor
11 for a description of rappor metrics. 12 for a description of rappor metrics.
12
13 TODO(holte): Add validation and pretty printing scripts.
14 --> 13 -->
15 14
16 <rappor-configuration> 15 <rappor-parameter-types>
17
18 <!-- 16 <!--
19 Parameters that rappor metrics can be collected with. This list should be 17 Parameters that rappor metrics can be collected with. This list should be
20 kept in sync with parameter type definitions in 18 kept in sync with parameter type definitions in
21 components/rappor/rappor_service.cc. 19 components/rappor/rappor_service.cc.
22 --> 20 -->
23 21
24 <rappor-parameter-types> 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>
25 30
26 <rappor-parameters name="ETLD_PLUS_ONE"> 31 <rappor-parameters name="ETLD_PLUS_ONE">
27 <summary> 32 <summary>
28 Parameters suitable for collecting the domain and registry of a URL from 33 Parameters suitable for collecting the domain and registry of a URL from
29 UMA opt-in users. 34 UMA opt-in users.
30 </summary> 35 </summary>
31 <parameters num-cohorts="128" 36 <parameters num-cohorts="128" bytes="16" hash-functions="2" fake-prob="0.5"
32 bytes="16" 37 fake-one-prob="0.5" one-coin-prob="0.75" zero-coin-prob="0.25"
33 hash-functions="2" 38 reporting-level="FINE"/>
34 fake-prob=".5"
35 fake-one-prob=".5"
36 one-coin-prob=".75"
37 zero-coin-prob=".25"
38 reporting-level="FINE">
39 </parameters>
40 </rappor-parameters>
41
42 <rappor-parameters name="COARSE_RAPPOR_TYPE">
43 <summary>
44 Stricter parameters for metrics collected from a broader population.
45 </summary>
46 <parameters num-cohorts="128"
47 bytes="1"
48 hash-functions="2"
49 fake-prob=".5"
50 fake-one-prob=".5"
51 one-coin-prob=".75"
52 zero-coin-prob=".25"
53 reporting-level="COARSE">
54 </rappor-parameters> 39 </rappor-parameters>
55 40
56 </rappor-parameter-types> 41 </rappor-parameter-types>
57 42
43 <rappor-metrics>
58 <!-- Rappor metric definitions --> 44 <!-- Rappor metric definitions -->
59 45
60 <rappor-metrics> 46 <rappor-metric name="ContentSettings.MixedScript.DisplayedShield"
47 type="ETLD_PLUS_ONE">
48 <owner>lgarron@chromium.org</owner>
49 <summary>
50 The eTLD+1 of a URL that displayed a mixed script shield. Note: this does
51 *not* include pages with mixed scripts where the user has already clicked
52 through the shield.
53 </summary>
54 </rappor-metric>
61 55
62 <rappor-metric name="Extensions.PossibleAdInjection2" type="ETLD_PLUS_ONE"> 56 <rappor-metric name="Extensions.PossibleAdInjection2" type="ETLD_PLUS_ONE">
63 <owner>rdevlin.cronin@chromium.org</owner> 57 <owner>rdevlin.cronin@chromium.org</owner>
64 <summary> 58 <summary>
65 The eTLD+1 of a URL that might be doing ad injection. 59 The eTLD+1 of a URL that might be doing ad injection.
66 </summary> 60 </summary>
67 </rappor-metric> 61 </rappor-metric>
68 62
69 <rappor-metric name="ContentSettings.MixedScript.DisplayedShield" 63 <rappor-metric name="Plugins.FlashOriginUrl" type="ETLD_PLUS_ONE">
70 type="ETLD_PLUS_ONE"> 64 <owner>wfh@chromium.org</owner>
71 <owner>lgarron@chromium.org</owner>
72 <summary> 65 <summary>
73 The eTLD+1 of a URL that displayed a mixed script shield. Note: this does 66 The domain and registry of the top level URL of a page which attempts to
74 *not* include pages with mixed scripts where the user has already clicked 67 launch a Flash NPAPI or PPAPI plugin, if the client has Flash installed
75 through the shield. 68 and enabled. Recorded when the plugin frame appears for each Flash object
69 found on the page, even if the plugin is click-to-play.
76 </summary> 70 </summary>
77 </rappor-metric> 71 </rappor-metric>
78 72
73 <rappor-metric name="Plugins.FlashUrl" type="ETLD_PLUS_ONE">
74 <owner>wfh@chromium.org</owner>
75 <summary>
76 The domain and registry of the URL from where Flash SWF or SPL content is
77 being loaded from, while attempting to launch a Flash (NPAPI or PPAPI)
78 plugin that is installed and enabled. Recorded when the plugin frame
79 appears for each Flash object found in the page, even if the plugin is
80 click-to-play.
81 </summary>
82 </rappor-metric>
83
84 <rappor-metric name="Plugins.SilverlightOriginUrl" type="ETLD_PLUS_ONE">
85 <owner>wfh@chromium.org</owner>
86 <summary>
87 The domain and registry of the top level URL of a page which attempts to
88 launch a Silverlight NPAPI plugin, if the client has Silverlight installed
89 and enabled. Recorded when the plugin frame appears for each Silverlight
90 object found on the page, even if the plugin is click-to-play.
91 </summary>
92 </rappor-metric>
93
79 <rappor-metric name="Search.DefaultSearchProvider" type="ETLD_PLUS_ONE"> 94 <rappor-metric name="Search.DefaultSearchProvider" type="ETLD_PLUS_ONE">
80 <owner>holte@chromium.org</owner> 95 <owner>holte@chromium.org</owner>
81 <summary> 96 <summary>
82 The domain and registry of the URL for the default search engine. 97 The domain and registry of the URL for the default search engine.
83 Recorded when a profile is opened or after a profile reset. 98 Recorded when a profile is opened or after a profile reset.
84 </summary> 99 </summary>
85 </rappor-metric> 100 </rappor-metric>
86 101
87 <rappor-metric name="Settings.FirstStartupPage" type="ETLD_PLUS_ONE"> 102 <rappor-metric name="Settings.FirstStartupPage" type="ETLD_PLUS_ONE">
88 <owner>holte@chromium.org</owner> 103 <owner>holte@chromium.org</owner>
(...skipping 13 matching lines...) Expand all
102 </rappor-metric> 117 </rappor-metric>
103 118
104 <rappor-metric name="Settings.NewTabPage" type="ETLD_PLUS_ONE"> 119 <rappor-metric name="Settings.NewTabPage" type="ETLD_PLUS_ONE">
105 <owner>holte@chromium.org</owner> 120 <owner>holte@chromium.org</owner>
106 <summary> 121 <summary>
107 The domain and registry of the URL chrome://newtab is rewritten to. 122 The domain and registry of the URL chrome://newtab is rewritten to.
108 Recorded when a profile is loaded, if the URL is valid. 123 Recorded when a profile is loaded, if the URL is valid.
109 </summary> 124 </summary>
110 </rappor-metric> 125 </rappor-metric>
111 126
112 <rappor-metric name="Plugins.SilverlightOriginUrl" type="ETLD_PLUS_ONE"> 127 <rappor-metric name="interstitial.harmful.domain" type="COARSE_RAPPOR_TYPE">
113 <owner>wfh@chromium.org</owner> 128 <owner>nparker@chromium.org</owner>
114 <summary> 129 <summary>
115 The domain and registry of the top level URL of a page which attempts to 130 The domain+registry of a URL that triggered a safe-browsing UWS
116 launch a Silverlight NPAPI plugin, if the client has Silverlight installed 131 interstitial.
117 and enabled. Recorded when the plugin frame appears for each Silverlight
118 object found on the page, even if the plugin is click-to-play.
119 </summary> 132 </summary>
120 </rappor-metric> 133 </rappor-metric>
121 134
122 <rappor-metric name="Plugins.FlashUrl" type="ETLD_PLUS_ONE">
123 <owner>wfh@chromium.org</owner>
124 <summary>
125 The domain and registry of the URL from where Flash SWF or SPL content is
126 being loaded from, while attempting to launch a Flash (NPAPI or PPAPI)
127 plugin that is installed and enabled. Recorded when the plugin frame
128 appears for each Flash object found in the page, even if the plugin is
129 click-to-play.
130 </summary>
131 </rappor-metric>
132
133 <rappor-metric name="Plugins.FlashOriginUrl" type="ETLD_PLUS_ONE">
134 <owner>wfh@chromium.org</owner>
135 <summary>
136 The domain and registry of the top level URL of a page which attempts to
137 launch a Flash NPAPI or PPAPI plugin, if the client has Flash installed
138 and enabled. Recorded when the plugin frame appears for each Flash object
139 found on the page, even if the plugin is click-to-play.
140 </summary>
141 </rappor-metric>
142
143 <rappor-metric name="interstitial.malware.domain" type="COARSE_RAPPOR_TYPE"> 135 <rappor-metric name="interstitial.malware.domain" type="COARSE_RAPPOR_TYPE">
144 <owner>nparker@chromium.org</owner> 136 <owner>nparker@chromium.org</owner>
145 <summary> 137 <summary>
146 The domain+registry of a URL that triggered a safe-browsing malware 138 The domain+registry of a URL that triggered a safe-browsing malware
147 interstitial. 139 interstitial.
148 </summary> 140 </summary>
149 </rappor-metric> 141 </rappor-metric>
150 142
151 <rappor-metric name="interstitial.phishing.domain" type="COARSE_RAPPOR_TYPE"> 143 <rappor-metric name="interstitial.phishing.domain" type="COARSE_RAPPOR_TYPE">
152 <owner>nparker@chromium.org</owner> 144 <owner>nparker@chromium.org</owner>
153 <summary> 145 <summary>
154 The domain+registry of a URL that triggered a safe-browsing phishing 146 The domain+registry of a URL that triggered a safe-browsing phishing
155 interstitial. 147 interstitial.
156 </summary> 148 </summary>
157 </rappor-metric> 149 </rappor-metric>
158 150
159 <rappor-metric name="interstitial.harmful.domain" type="COARSE_RAPPOR_TYPE">
160 <owner>nparker@chromium.org</owner>
161 <summary>
162 The domain+registry of a URL that triggered a safe-browsing UWS
163 interstitial.
164 </summary>
165 </rappor-metric>
166
167 <rappor-metric name="interstitial.ssl.domain" type="COARSE_RAPPOR_TYPE"> 151 <rappor-metric name="interstitial.ssl.domain" type="COARSE_RAPPOR_TYPE">
168 <owner>nparker@chromium.org</owner> 152 <owner>nparker@chromium.org</owner>
169 <summary> 153 <summary>
170 The domain+registry of a URL that triggered an SSL interstitial. 154 The domain+registry of a URL that triggered an SSL interstitial. Domains
171 Domains for bad-clock warnings are not reported. 155 for bad-clock warnings are not reported.
172 </summary> 156 </summary>
173 </rappor-metric> 157 </rappor-metric>
174 158
175 </rappor-metrics> 159 </rappor-metrics>
176 160
177 </rappor-configuration> 161 </rappor-configuration>
OLDNEW
« tools/metrics/rappor/pretty_print.py ('K') | « tools/metrics/rappor/pretty_print.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698