@univerjstelemetryinterfacesItelemetryservice

@univerjs/telemetry v0.5.0-beta.1Docs


Interface: ITelemetryService

Univer telemetry service interface. You should implement this interface to track telemetry data.

Properties

PropertyTypeDefined in
capture(eventName: string, params?: Record<string, any>) => voidsubmodules/univer/packages/telemetry/src/services/telemetry-service.ts:24
endTime(functionName: string) => voidsubmodules/univer/packages/telemetry/src/services/telemetry-service.ts:26
identify(id: string, params?: Record<string, any>) => voidsubmodules/univer/packages/telemetry/src/services/telemetry-service.ts:23
onPageView(url: string) => voidsubmodules/univer/packages/telemetry/src/services/telemetry-service.ts:32
startTime(functionName: string) => voidsubmodules/univer/packages/telemetry/src/services/telemetry-service.ts:25
trackPerformance(params: { [prop: string]: any; duration: number; functionName: string; }) => voidsubmodules/univer/packages/telemetry/src/services/telemetry-service.ts:27