UNPKG

915 BTypeScriptView Raw
1import { Telemetry } from "./telemetry";
2/**
3 * Telemetry type used for availability web test results.
4 */
5export interface AvailabilityTelemetry extends Telemetry {
6 /**
7 * Identifier of a test run. Use it to correlate steps of test run and telemetry generated by the service.
8 */
9 id: string;
10 /**
11 * Name of the test that these availability results represent.
12 */
13 name: string;
14 /**
15 * Request duration in ms
16 */
17 duration: number;
18 /**
19 * Success flag.
20 */
21 success: boolean;
22 /**
23 * Name of the location where the test was run from.
24 */
25 runLocation: string;
26 /**
27 * Diagnostic message for the result.
28 */
29 message: string;
30 /**
31 * Metrics associated with this event, displayed in Metrics Explorer on the portal.
32 */
33 measurements?: {
34 [key: string]: number;
35 };
36}