Skip to content

Commit 04881c9

Browse files
kanadguptaclaude
andauthored
docs(cli): remove the outdated telemetry design doc (supabase#7725)
## Summary Split out from supabase#7699, which stops passing `SENTRY_DSN` to the build. Review there noted that this doc still describes Sentry, with a `SENTRY_DSN`, as the current telemetry backend. - Removes `docs/telemetry.md`, an early design doc that described Sentry and Grafana as the telemetry backends, along with collection and consent designs the CLI never shipped. `apps/cli/docs/analytics.md` and `apps/cli/docs/tracing-monitoring.md` document how analytics and tracing work today. - Points the "See Also" link in ADR 0002 at those two docs. The ADR's decision text is unchanged. - Drops a line in `analytics.md` that described Sentry as a current telemetry system. ## Linked issue Part of CLI-3161 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent 40711af commit 04881c9

3 files changed

Lines changed: 4 additions & 443 deletions

File tree

‎apps/cli/docs/analytics.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,6 @@ That means:
243243

244244
- analytics gets one or a few meaningful events per command
245245
- traces remain in the tracing path
246-
- Sentry and PostHog remain distinct telemetry systems with different responsibilities
247246

248247
In short:
249248

‎docs/adr/0002-cli-product-metrics.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ We define 5 metric categories with specific signals to track. All metrics are de
6464

6565
### Infrastructure
6666

67+
> This section records the original design. The CLI now sends product analytics to PostHog and exports traces only on opt-in; see [CLI Analytics](../../apps/cli/docs/analytics.md) and [CLI Tracing and Monitoring](../../apps/cli/docs/tracing-monitoring.md).
68+
6769
A single OpenTelemetry-based pipeline handles all concerns — product analytics, performance traces, and error diagnostics. The backend evolves in phases:
6870

6971
| Phase | Backend | Purpose | Status |
@@ -152,4 +154,5 @@ Three-state model: `"pending" | "granted" | "denied"`, stored in `~/.supabase/te
152154

153155
## See Also
154156

155-
- [Telemetry Implementation](../telemetry.md): Collection architecture, identity resolution, consent flow, local storage, remote export, and metric derivation
157+
- [CLI Analytics](../../apps/cli/docs/analytics.md): PostHog events, identity, and consent
158+
- [CLI Tracing and Monitoring](../../apps/cli/docs/tracing-monitoring.md): Opt-in local traces and OTLP export

0 commit comments

Comments
 (0)