GoogleApi.ChromeUXReport.V1.Model.Metric (google_api_chrome_ux_report v0.3.0) View Source

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.

Attributes

  • histogram (type: list(GoogleApi.ChromeUXReport.V1.Model.Bin.t), default: nil) - 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.
  • percentiles (type: GoogleApi.ChromeUXReport.V1.Model.Percentiles.t, default: nil) - Common useful percentiles of the Metric. The value type for the percentiles will be the same as the value types given for the Histogram bins.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.ChromeUXReport.V1.Model.Metric{
  histogram: [GoogleApi.ChromeUXReport.V1.Model.Bin.t()] | nil,
  percentiles: GoogleApi.ChromeUXReport.V1.Model.Percentiles.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.