API Reference
@univerjs
@univerjs/telemetry
interfaces
Itelemetryservice

@univerjs/telemetry v0.4.2Docs


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>) => voidpackages/telemetry/src/services/telemetry-service.ts:24 (opens in a new tab)
endTime(functionName: string) => voidpackages/telemetry/src/services/telemetry-service.ts:26 (opens in a new tab)
identify(id: string, params?: Record<string, any>) => voidpackages/telemetry/src/services/telemetry-service.ts:23 (opens in a new tab)
onPageView(url: string) => voidpackages/telemetry/src/services/telemetry-service.ts:32 (opens in a new tab)
startTime(functionName: string) => voidpackages/telemetry/src/services/telemetry-service.ts:25 (opens in a new tab)
trackPerformance(params: { [prop: string]: any; duration: number; functionName: string; }) => voidpackages/telemetry/src/services/telemetry-service.ts:27 (opens in a new tab)

Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.