MetricTimeseries
import type { MetricTimeseries } from "https://googleapis.deno.dev/v1/chromeuxreport:v1.ts";
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.
interface MetricTimeseries {
fractionTimeseries?: {};
[key: string]: FractionTimeseries;
histogramTimeseries?: TimeseriesBin[];
percentilesTimeseries?: TimeseriesPercentiles;
}§Properties
§
fractionTimeseries?: {}
[src][key: string]: FractionTimeseries;
Mapping from labels to timeseries of fractions attributed to this label.
§
histogramTimeseries?: TimeseriesBin[]
[src]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?: TimeseriesPercentiles
[src]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.