Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 47bc45d

Browse files
committedNov 7, 2023
feat(chromeuxreport): update the api
#### chromeuxreport:v1 The following keys were added: - schemas.Metric.properties.fractions (Total Keys: 3)
1 parent cfa843c commit 47bc45d

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
 

‎docs/dyn/chromeuxreport_v1.records.html

+3
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,9 @@ <h3>Method Details</h3>
209209
},
210210
&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;]
211211
&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`.
212+
&quot;fractions&quot;: { # For enum metrics, provides fractions which add up to approximately 1.0.
213+
&quot;a_key&quot;: 3.14,
214+
},
212215
&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.
213216
{ # 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.
214217
&quot;density&quot;: 3.14, # The proportion of users that experienced this bin&#x27;s value for the given metric.

‎googleapiclient/discovery_cache/documents/chromeuxreport.v1.json

+9-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
}
132132
}
133133
},
134-
"revision": "20231026",
134+
"revision": "20231101",
135135
"rootUrl": "https://chromeuxreport.googleapis.com/",
136136
"schemas": {
137137
"Bin": {
@@ -286,6 +286,14 @@
286286
"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`.",
287287
"id": "Metric",
288288
"properties": {
289+
"fractions": {
290+
"additionalProperties": {
291+
"format": "double",
292+
"type": "number"
293+
},
294+
"description": "For enum metrics, provides fractions which add up to approximately 1.0.",
295+
"type": "object"
296+
},
289297
"histogram": {
290298
"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.",
291299
"items": {

0 commit comments

Comments
 (0)
Please sign in to comment.