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

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

Issue 509203002: Create a mechanism for reporting rappor metrics from non-UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename, add params to rappor.xml Created 6 years, 1 month 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 <!-- 7 <!--
8 This file is used to generate a comprehensive list of Chrome rappor metrics 8 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 9 along with a detailed description for each histogram. See the design doc at
10 http://www.chromium.org/developers/design-documents/rappor 10 http://www.chromium.org/developers/design-documents/rappor
11 for a description of rappor metrics. 11 for a description of rappor metrics.
12 12
13 TODO(holte): Add validation and pretty printing scripts. 13 TODO(holte): Add validation and pretty printing scripts.
14 --> 14 -->
15 15
16 <rappor-configuration> 16 <rappor-configuration>
17 17
18 <!--
19 Parameters that rappor metrics can be collected with. This list should be
20 kept in sync with parameter type definitions in
21 components/rappor/rappor_service.cc.
Alexei Svitkine (slow) 2014/11/03 21:48:21 Can you also file a bug that we should make a pres
Steven Holte 2014/11/04 02:44:20 Done. https://code.google.com/p/chromium/issues/de
22 -->
23
24 <rappor-parameter-types>
25
26 <rappor-parameters name="ETLD_PLUS_ONE">
27 <summary>
28 Parameters suitable for collecting the domain and registry of a URL from
29 UMA opt-in users.
30 </summary>
31 <parameters num-cohorts="128"
32 bytes="16"
33 hash-functions="2"
34 fake-prob=".5"
35 fake-one-prob=".5"
36 one-coin-prob=".75"
37 zero-coin-prob=".25"
38 always-enabled="false">
39 </parameters>
40 </rappor-parameters>
41
42 <rappor-parameters name="FULL_POPULATION">
43 <summary>
44 Parameters suitable for metrics collected from the full population of
45 chrome users.
Alexei Svitkine (slow) 2014/11/03 21:48:21 Nit: capitalize Chrome
Steven Holte 2014/11/04 02:44:20 Changed this description.
46 </summary>
47 <parameters num-cohorts="128"
48 bytes="1"
49 hash-functions="2"
50 fake-prob=".5"
51 fake-one-prob=".5"
52 one-coin-prob=".75"
53 zero-coin-prob=".25"
54 always-enabled="true">
55 </rappor-parameters>
56
57 </rappor-parameter-types>
58
18 <!-- Rappor metric definitions --> 59 <!-- Rappor metric definitions -->
19 60
20 <rappor-metrics> 61 <rappor-metrics>
21 62
22 <rappor-metric name="Extensions.PossibleAdInjection2" type="ETLD_PLUS_ONE"> 63 <rappor-metric name="Extensions.PossibleAdInjection2" type="ETLD_PLUS_ONE">
23 <owner>rdevlin.cronin@chromium.org</owner> 64 <owner>rdevlin.cronin@chromium.org</owner>
24 <summary> 65 <summary>
25 The eTLD+1 of a URL that might be doing ad injection. 66 The eTLD+1 of a URL that might be doing ad injection.
26 </summary> 67 </summary>
27 </rappor-metric> 68 </rappor-metric>
(...skipping 27 matching lines...) Expand all
55 <owner>holte@chromium.org</owner> 96 <owner>holte@chromium.org</owner>
56 <summary> 97 <summary>
57 The domain and registry of the URL chrome://newtab is rewritten to. 98 The domain and registry of the URL chrome://newtab is rewritten to.
58 Recorded when a profile is loaded, if the URL is valid. 99 Recorded when a profile is loaded, if the URL is valid.
59 </summary> 100 </summary>
60 </rappor-metric> 101 </rappor-metric>
61 102
62 </rappor-metrics> 103 </rappor-metrics>
63 104
64 </rappor-configuration> 105 </rappor-configuration>
OLDNEW
« components/rappor/rappor_service.cc ('K') | « components/rappor/rappor_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698