UNPKG

795 BTypeScriptView Raw
1import { Telemetry } from "./telemetry";
2/**
3 * Telemetry type used for availability web test results.
4 */
5export interface PageViewTelemetry extends Telemetry {
6 /** Identifier of a page view instance. Used for correlation between page view and other telemetry items. */
7 id: string;
8 /** Event name. Keep it low cardinality to allow proper grouping and useful metrics. */
9 name: string;
10 /** Request URL with all query string parameters */
11 url?: string;
12 /** Request duration in milliseconds. */
13 duration?: number;
14 /** Fully qualified page URI or URL of the referring page; if unknown, leave blank */
15 referredUri?: string;
16 /** Collection of custom measurements. */
17 measurements?: {
18 [propertyName: string]: number;
19 };
20}