View Source GoogleApi.ChromeUXReport.V1.Model.MetricTimeseries (google_api_chrome_ux_report v0.5.0)

A metric timeseries 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, where each bin has density values for a particular time period.

Attributes

  • fractionTimeseries (type: %{optional(String.t) => GoogleApi.ChromeUXReport.V1.Model.FractionTimeseries.t}, default: nil) - Mapping from labels to timeseries of fractions attributed to this label.
  • histogramTimeseries (type: list(GoogleApi.ChromeUXReport.V1.Model.TimeseriesBin.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, for each timeseries entry.
  • percentilesTimeseries (type: GoogleApi.ChromeUXReport.V1.Model.TimeseriesPercentiles.t, default: nil) - Commonly useful percentiles of the Metric. The value type for the percentiles will be the same as the value types given for the Histogram bins.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ChromeUXReport.V1.Model.MetricTimeseries{
  fractionTimeseries:
    %{
      optional(String.t()) =>
        GoogleApi.ChromeUXReport.V1.Model.FractionTimeseries.t()
    }
    | nil,
  histogramTimeseries:
    [GoogleApi.ChromeUXReport.V1.Model.TimeseriesBin.t()] | nil,
  percentilesTimeseries:
    GoogleApi.ChromeUXReport.V1.Model.TimeseriesPercentiles.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.