applicationinsights
Version:
Microsoft Application Insights module for Node.js
18 lines (17 loc) • 611 B
TypeScript
import { Telemetry } from "./telemetry";
/**
* Telemetry about the custom event of interest, such application workflow event, business logic event (purchase) and anything that
* you would like to track and aggregate by count. Event can contain measurements such as purchase amount associated with purchase event
*/
export interface EventTelemetry extends Telemetry {
/**
* Name of the event
*/
name: string;
/**
* Metrics associated with this event, displayed in Metrics Explorer on the portal.
*/
measurements?: {
[key: string]: number;
};
}