@univerjstelemetryinterfacesItelemetryservice

@univerjs/telemetry v0.5.4


Interface: ITelemetryService

Defined in: submodules/univer/packages/telemetry/src/services/telemetry-service.ts:22

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

Properties

PropertyTypeDescriptionDefined in
capture(eventName: string, params?: Record<string, any>) => voidTrack the event.submodules/univer/packages/telemetry/src/services/telemetry-service.ts:49
debug() => voidEnable the debug mode.submodules/univer/packages/telemetry/src/services/telemetry-service.ts:26
endTime(functionName: string) => voidEnd the timer.submodules/univer/packages/telemetry/src/services/telemetry-service.ts:59
identify(id: string, params?: Record<string, any>) => voidIdentify the user.submodules/univer/packages/telemetry/src/services/telemetry-service.ts:39
init(options?: Record<string, any>) => voidInitialize the telemetry service.submodules/univer/packages/telemetry/src/services/telemetry-service.ts:32
onPageView(url: string) => voidTrack the page view.submodules/univer/packages/telemetry/src/services/telemetry-service.ts:73
startTime(functionName: string) => voidStart the timer.submodules/univer/packages/telemetry/src/services/telemetry-service.ts:54
trackPerformance(params: { [prop: string]: any; duration: number; functionName: string; }) => voidTrack the performance event.submodules/univer/packages/telemetry/src/services/telemetry-service.ts:64

Methods

reset()

reset(): void

Defined in: submodules/univer/packages/telemetry/src/services/telemetry-service.ts:43

Reset the user.

Returns

void