Skip to content

feat: usage telemetry on by default in Community, said loudly - #430

Merged
vladenisov merged 2 commits into
mainfrom
feat/telemetry-on-by-default
Oct 9, 2026
Merged

vladenisov merged 2 commits into
mainfrom
feat/telemetry-on-by-default

Conversation

@vladenisov

Copy link
Copy Markdown
Collaborator

Usage telemetry flips from opt-in to on-by-default for Community. Nobody runs tripl in production yet, so no existing install's consent changes in practice.

Behaviour

  • TELEMETRY_ENABLED unset → on in Community, off in Enterprise. false turns it off; true turns it on in Enterprise.
  • DO_NOT_TRACK (the cross-tool opt-out) turns it off whatever TELEMETRY_ENABLED says. Passed through compose.yaml (and the CLI's packaged copy).
  • When it is on, the API logs at startup, at WARNING so it shows at any log level:
    Anonymous usage telemetry is ON: one small ping a day to … What it holds: https://docs.tripl.io/run/telemetry. Turn it off with TELEMETRY_ENABLED=false (or DO_NOT_TRACK=1) and restart.
  • tripl install: --telemetry becomes --telemetry / --no-telemetry. Neither leaves TELEMETRY_ENABLED commented out in the new .env (the edition's default applies), and install then says on stderr that telemetry is on and how to turn it off. Either flag writes true / false.
  • compose.dev.yaml sets TELEMETRY_ENABLED=false: a developer's or CI's stack never pings. A public demo still never sends.
  • Settings → Platform → Runtime names each reason: DO_NOT_TRACK is set, TELEMETRY_ENABLED=false, Enterprise default.

Docs: telemetry (rewritten: on/off, the startup line, retention on the receiver; the engine list now covers all ten), configuration (TELEMETRY_ENABLED default, new DO_NOT_TRACK), CLI reference, deployment, .env.example.

The receiver behind telemetry.tripl.io is a separate private service; it goes live before this matters.

Tests: backend test_telemetry.py (edition default, DO_NOT_TRACK, the startup line and its absence), CLI install notice per flag/edition and the rendered .env, TelemetryCard reasons, e2e spec updated for the dev stack's explicit false. Ran locally: backend telemetry + config/compose tests, the CLI suite, the card's vitest, lint/types; make sync-types clean.

🤖 Generated with Claude Code

vladenisov and others added 2 commits October 9, 2026 09:58
Community instances send the anonymous daily ping unless told not to;
Enterprise stays off unless TELEMETRY_ENABLED=true. DO_NOT_TRACK turns it
off whatever else says. When it is on, the API logs it at startup with how
to turn it off, and tripl install says so when it writes a new .env (which
leaves TELEMETRY_ENABLED commented out; --telemetry / --no-telemetry
write it). The dev stack keeps it off. Runtime settings name each reason.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 9, 2026 07:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@vladenisov
vladenisov merged commit 9fcabde into main Oct 9, 2026
18 checks passed
@vladenisov
vladenisov deleted the feat/telemetry-on-by-default branch October 9, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants