Telemetry abstraction
Goal
A single thin wrapper (src/lib/telemetry.ts) is the only place that imports a vendor SDK. Every event, error, and pageview goes through it.
Tasks
Acceptance
rg "posthog|sentry" in source returns matches only in the telemetry wrapper file and package.json.
Telemetry abstraction
Goal
A single thin wrapper (
src/lib/telemetry.ts) is the only place that imports a vendor SDK. Every event, error, and pageview goes through it.Tasks
tilt-app/src/lib/telemetry.tswithtrack,pageview,captureError,identify,resetposthog-js,@sentry/*PUBLIC_POSTHOG_KEYis missinghandlefor pageviews andhandleErrorfor unhandled exceptionsAcceptance
rg "posthog|sentry"in source returns matches only in the telemetry wrapper file andpackage.json.