Index: tools/metrics/rappor/rappor.xml |
diff --git a/tools/metrics/rappor/rappor.xml b/tools/metrics/rappor/rappor.xml |
index 743f98a214a0c51248d6b518bc15732f30e20ad3..7a9781335bc4c6976d08b9a9462b85c5ff63e264 100644 |
--- a/tools/metrics/rappor/rappor.xml |
+++ b/tools/metrics/rappor/rappor.xml |
@@ -15,6 +15,46 @@ TODO(holte): Add validation and pretty printing scripts. |
<rappor-configuration> |
+<!-- |
+Parameters that rappor metrics can be collected with. This list should be |
+kept in sync with parameter type definitions in |
+components/rappor/rappor_service.cc. |
+--> |
+ |
+<rappor-parameter-types> |
+ |
+<rappor-parameters name="ETLD_PLUS_ONE"> |
+ <summary> |
+ Parameters suitable for collecting the domain and registry of a URL from |
+ UMA opt-in users. |
+ </summary> |
+ <parameters num-cohorts="128" |
+ bytes="16" |
+ hash-functions="2" |
+ fake-prob=".5" |
+ fake-one-prob=".5" |
+ one-coin-prob=".75" |
+ zero-coin-prob=".25" |
+ reporting-level="FINE"> |
+ </parameters> |
+</rappor-parameters> |
+ |
+<rappor-parameters name="COARSE_RAPPOR_TYPE"> |
+ <summary> |
+ Stricter parameters for metrics collected from a broader population. |
+ </summary> |
+ <parameters num-cohorts="128" |
+ bytes="1" |
+ hash-functions="2" |
+ fake-prob=".5" |
+ fake-one-prob=".5" |
+ one-coin-prob=".75" |
+ zero-coin-prob=".25" |
+ reporting-level="COARSE"> |
+</rappor-parameters> |
+ |
+</rappor-parameter-types> |
+ |
<!-- Rappor metric definitions --> |
<rappor-metrics> |