UNPKG

561 BTypeScriptView Raw
1import { Telemetry } from "./telemetry";
2import { SeverityLevel } from "../../generated";
3/**
4 * Telemetry about the exception thrown by the application
5 */
6export interface ExceptionTelemetry extends Telemetry {
7 /**
8 * Exception thrown
9 */
10 exception: Error;
11 /**
12 * Metrics associated with this exception, displayed in Metrics Explorer on the portal. Defaults to empty
13 */
14 measurements?: {
15 [key: string]: number;
16 };
17 /**
18 * Exception severity level
19 */
20 severity?: SeverityLevel;
21}