MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / usage

Function usage

__tests__/telemetry-services.test.ts:213–217  ·  view source on GitHub ↗
(day: string, count: number)

Source from the content-addressed store, hash-verified

211 const install = (ts: string): Row => ({ event: 'install', ts, props: { scope: 'local', kind: 'fresh' } });
212 const index = (ts: string): Row => ({ event: 'index', ts, props: { languages: ['typescript'] } });
213 const usage = (day: string, count: number): Row => ({
214 event: 'usage_rollup',
215 ts: `${day}T12:00:00.000Z`,
216 props: { kind: 'mcp_tool', name: 'codegraph_explore', count, client_name: 'Claude Code' },
217 });
218
219 // -------------------------------------------------------------------------
220 // 1. Activation counts an index run that uploads late

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected