UNPKG

611 BTypeScriptView Raw
1import { Telemetry } from "./telemetry";
2/**
3 * Telemetry about the custom event of interest, such application workflow event, business logic event (purchase) and anything that
4 * you would like to track and aggregate by count. Event can contain measurements such as purchase amount associated with purchase event
5 */
6export interface EventTelemetry extends Telemetry {
7 /**
8 * Name of the event
9 */
10 name: string;
11 /**
12 * Metrics associated with this event, displayed in Metrics Explorer on the portal.
13 */
14 measurements?: {
15 [key: string]: number;
16 };
17}