MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / toTelemetryEvent

Function toTelemetryEvent

packages/telemetry/src/client.ts:256–265  ·  view source on GitHub ↗
(event: PendingTelemetryEvent)

Source from the content-addressed store, hash-verified

254}
255
256function toTelemetryEvent(event: PendingTelemetryEvent): TelemetryEvent {
257 return {
258 event_id: event.event_id,
259 device_id: event.device_id,
260 session_id: event.session_id,
261 event: event.event,
262 timestamp: event.timestamp,
263 properties: event.properties,
264 };
265}
266
267function sanitizeProperties(input: TelemetryProperties): TelemetryProperties {
268 const out: TelemetryProperties = {};

Callers 2

attachSinkMethod · 0.85
trackWithContextMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected