Skip to content

Commit b019aa3

Browse files
docs(cli): drop hijacked consoledonottrack.com link (#1504)
The DO_NOT_TRACK docs on cli.sentry.dev linked to consoledonottrack.com, which now serves unrelated Chihuahua content. Remove the domain from the generated configuration docs source and matching telemetry comments. `DO_NOT_TRACK=1` behavior is unchanged. <!-- junior-request-attribution:start --> Requested by **David Cramer**. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AC8H0BQRDJ%3A1787948400.832119 --> -- [View Junior Session](https://junior-prod.sentry.dev/conversations/slack%3AC8H0BQRDJ%3A1787948400.832119) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC8H0BQRDJ%3A1787948400.832119/?project=4510944073809921) <!-- junior-session-footer:end --> Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: David Cramer <david@sentry.io>
1 parent 23ece5c commit b019aa3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎packages/cli/src/lib/env-registry.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export const ENV_VAR_REGISTRY: readonly EnvVarEntry[] = [
253253
{
254254
name: "DO_NOT_TRACK",
255255
description:
256-
"Industry-standard opt-out for telemetry ([consoledonottrack.com](https://consoledonottrack.com/)). When set to `1`, the CLI disables all telemetry, equivalent to `SENTRY_CLI_NO_TELEMETRY=1`.",
256+
"Industry-standard opt-out for telemetry. When set to `1`, the CLI disables all telemetry, equivalent to `SENTRY_CLI_NO_TELEMETRY=1`.",
257257
example: "1",
258258
},
259259
{

‎packages/cli/src/lib/telemetry.ts‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export function markSessionCrashed(): void {
9898
/** Env var that disables CLI telemetry when set to `"1"`. */
9999
export const TELEMETRY_ENV_VAR = "SENTRY_CLI_NO_TELEMETRY";
100100

101-
/** Industry-standard env var for opting out of telemetry (consoledonottrack.com). */
101+
/** Industry-standard env var for opting out of telemetry. */
102102
export const DO_NOT_TRACK_ENV_VAR = "DO_NOT_TRACK";
103103

104104
/** Result of resolving the effective telemetry state */
@@ -120,7 +120,7 @@ export type TelemetryEffective = {
120120
*
121121
* Priority (highest to lowest):
122122
* 1. `SENTRY_CLI_NO_TELEMETRY=1` — explicit CLI env var opt-out
123-
* 2. `DO_NOT_TRACK=1` — industry standard (consoledonottrack.com)
123+
* 2. `DO_NOT_TRACK=1` — industry-standard opt-out
124124
* 3. SQLite persistent preference — `sentry cli defaults telemetry on/off`
125125
* 4. Default: enabled
126126
*
@@ -168,7 +168,7 @@ export function isTelemetryEnabled(): boolean {
168168
*
169169
* Telemetry can be disabled via:
170170
* - `SENTRY_CLI_NO_TELEMETRY=1` environment variable
171-
* - `DO_NOT_TRACK=1` environment variable (consoledonottrack.com)
171+
* - `DO_NOT_TRACK=1` environment variable
172172
* - `sentry cli defaults telemetry off` (persistent preference)
173173
*
174174
* @param callback - The CLI execution function to wrap, receives the span for naming

0 commit comments

Comments
 (0)