1// This is an example config to be used with the --probe-config switch. 2{ 3 probes: { 4 chrome_histograms: { 5 // metrics is a dictionary keyed by UMA histogram name, see 6 // chrome://histograms for histograms logged by a browser. Each histogram 7 // key has an array of metrics to generate. Metrics can be the following: 8 // * "count": the number of samples logged to the histogram. 9 // * "mean": the average value logged to the histogram. 10 // * "p{number}" (e.g. "p50", "p90"): The percentile value of samples 11 // logged to the histogram. APPROXIMATE. 12 metrics: { 13 // E.g. the following line will create four entries in the results: 14 // * "WebVitals.FirstContentfulPaint3_count" 15 // * "WebVitals.FirstContentfulPaint3_mean" 16 // * "WebVitals.FirstContentfulPaint3_p50" 17 // * "WebVitals.FirstContentfulPaint3_p90" 18 "WebVitals.FirstContentfulPaint3": ["count", "mean", "p50", "p90"], 19 // And another metrics are made from this histogram. 20 "Startup.FirstWebContents.NonEmptyPaint3": ["count", "mean", "p50", "p90"], 21 }, 22 }, 23 } 24}