UNPKG

applicationinsights

Version:

Microsoft Application Insights module for Node.js

22 lines (21 loc) 561 B
import { Telemetry } from "./telemetry"; import { SeverityLevel } from "../../generated"; /** * Telemetry about the exception thrown by the application */ export interface ExceptionTelemetry extends Telemetry { /** * Exception thrown */ exception: Error; /** * Metrics associated with this exception, displayed in Metrics Explorer on the portal. Defaults to empty */ measurements?: { [key: string]: number; }; /** * Exception severity level */ severity?: SeverityLevel; }