Skip to content

Commit

Permalink
feat(chromeuxreport): update the api
Browse files Browse the repository at this point in the history
#### chromeuxreport:v1

The following keys were added:
- schemas.Metric.properties.fractions (Total Keys: 3)
  • Loading branch information
yoshi-automation committed Nov 7, 2023
1 parent cfa843c commit 47bc45d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions docs/dyn/chromeuxreport_v1.records.html
Expand Up @@ -209,6 +209,9 @@ <h3>Method Details</h3>
},
&quot;metrics&quot;: { # Metrics is the map of user experience data available for the record defined in the key field. Metrics are keyed on the metric name. Allowed key values: [&quot;first_contentful_paint&quot;, &quot;first_input_delay&quot;, &quot;largest_contentful_paint&quot;, &quot;cumulative_layout_shift&quot;, &quot;experimental_time_to_first_byte&quot;, &quot;experimental_interaction_to_next_paint&quot;]
&quot;a_key&quot;: { # A `metric` is a set of user experience data for a single web performance metric, like &quot;first contentful paint&quot;. It contains a summary histogram of real world Chrome usage as a series of `bins`.
&quot;fractions&quot;: { # For enum metrics, provides fractions which add up to approximately 1.0.
&quot;a_key&quot;: 3.14,
},
&quot;histogram&quot;: [ # The histogram of user experiences for a metric. The histogram will have at least one bin and the densities of all bins will add up to ~1.
{ # A bin is a discrete portion of data spanning from start to end, or if no end is given, then from start to +inf. A bin&#x27;s start and end values are given in the value type of the metric it represents. For example, &quot;first contentful paint&quot; is measured in milliseconds and exposed as ints, therefore its metric bins will use int32s for its start and end types. However, &quot;cumulative layout shift&quot; is measured in unitless decimals and is exposed as a decimal encoded as a string, therefore its metric bins will use strings for its value type.
&quot;density&quot;: 3.14, # The proportion of users that experienced this bin&#x27;s value for the given metric.
Expand Down
Expand Up @@ -131,7 +131,7 @@
}
}
},
"revision": "20231026",
"revision": "20231101",
"rootUrl": "https://chromeuxreport.googleapis.com/",
"schemas": {
"Bin": {
Expand Down Expand Up @@ -286,6 +286,14 @@
"description": "A `metric` is a set of user experience data for a single web performance metric, like \"first contentful paint\". It contains a summary histogram of real world Chrome usage as a series of `bins`.",
"id": "Metric",
"properties": {
"fractions": {
"additionalProperties": {
"format": "double",
"type": "number"
},
"description": "For enum metrics, provides fractions which add up to approximately 1.0.",
"type": "object"
},
"histogram": {
"description": "The histogram of user experiences for a metric. The histogram will have at least one bin and the densities of all bins will add up to ~1.",
"items": {
Expand Down

0 comments on commit 47bc45d

Please sign in to comment.