Skip to content

feat(telemetry)!: remove Segment usage telemetry - #319

Merged
philipph-askui merged 4 commits into
mainfrom
feat/telemetry-off-by-default
Oct 26, 2026
Merged

philipph-askui merged 4 commits into
mainfrom
feat/telemetry-off-by-default

Conversation

@kristijan-jakimov

@kristijan-jakimov kristijan-jakimov commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Removes the Segment-based usage telemetry from the SDK. OpenTelemetry tracing (askui.telemetry.otel, opt-in, exports to the endpoint you configure) is unchanged.

  • Removed the @telemetry.record_call decorators from ComputerAgent, AndroidAgent, WebAgent, Agent and the AskUI controller client.
  • Removed the telemetry modules (Telemetry, TelemetrySettings, Segment processor, anonymous/device ID, user identification), askui.container, askui.settings and the to_telemetry_dict() model methods.
  • Dropped segment-analytics-python and py-machineid; lock updated with no other version changes.
  • Removed the usage-telemetry docs section, the .env.template entry and the related tests.

BREAKING CHANGE: the removed modules and types above are gone; ASKUI__VA__TELEMETRY__* environment variables have no effect.

Checks pass locally: format, typecheck, lint, 802 unit tests. @philipph-askui could you include this in the next release?

BREAKING CHANGE: askui.container, askui.settings and the Segment telemetry in askui.telemetry are removed; ASKUI__VA__TELEMETRY__* environment variables have no effect.
@kristijan-jakimov kristijan-jakimov changed the title feat(telemetry): make telemetry opt-in (disabled by default) feat(telemetry)!: remove Segment usage telemetry Oct 20, 2026

@philipph-askui philipph-askui 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.

Reviewed: decorators and Segment modules fully removed, OTel tracing (askui.telemetry.otel, conversation spans, httpx instrumentation) unchanged, lock only drops segment-analytics-python/py-machineid and their deps. LGTM.

@philipph-askui
philipph-askui merged commit 3b507e4 into main Oct 26, 2026
1 check passed
@philipph-askui
philipph-askui deleted the feat/telemetry-off-by-default branch October 26, 2026 07:58
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