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

Function infoText

telemetry-worker/src/index.ts:30–50  ·  view source on GitHub ↗
(keepDays: number)

Source from the content-addressed store, hash-verified

28const LABEL_RE = /^[A-Za-z0-9_.:+/ @()-]+$/;
29
30const infoText = (keepDays: number): string => `codegraph anonymous-telemetry ingest.
31
32What gets collected (and what never does) is documented field-by-field:
33https://github.com/colbymchenry/codegraph/blob/main/docs/design/telemetry.md
34This endpoint's full source:
35https://github.com/colbymchenry/codegraph/tree/main/telemetry-worker
36
37Guarantees: no code, file paths, repo/file/symbol names, or query strings are ever
38sent; the client IP is never read or stored; the machine ID is a random UUID the
39client mints locally and can delete at any time. Accepted events are stored in our
40own database on Cloudflare (D1) and are never forwarded to any third-party analytics
41vendor. The stored schema is the complete list of what is kept:
42https://github.com/colbymchenry/codegraph/blob/main/telemetry-worker/migrations/0001_init.sql
43
44Individual events are deleted after ${keepDays} days. What outlives them: anonymous
45daily totals (counts per day of things like operating system, version and language),
46and which days each machine ID was active, so returning-user numbers survive. No event
47details, and still nothing that identifies a person or a codebase.
48
49Disable any time: codegraph telemetry off | CODEGRAPH_TELEMETRY=0 | DO_NOT_TRACK=1
50`;
51
52type JsonObject = Record<string, unknown>;
53

Callers 1

fetchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected