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

Function withTelemetryContext

packages/agent-core/src/telemetry.ts:21–26  ·  view source on GitHub ↗
(
  telemetry: TelemetryClient,
  patch: TelemetryContextPatch,
)

Source from the content-addressed store, hash-verified

19};
20
21export function withTelemetryContext(
22 telemetry: TelemetryClient,
23 patch: TelemetryContextPatch,
24): TelemetryClient {
25 return telemetry.withContext?.(patch) ?? telemetry;
26}
27
28export function withTelemetryProperties(
29 telemetry: TelemetryClient,

Callers 5

trackSessionEventMethod · 0.90
trackSessionStartedMethod · 0.90
withContextFunction · 0.70

Calls 1

withContextMethod · 0.65

Tested by

no test coverage detected