Skip to content

Upstream anonymous telemetry module#4909

Open
anvacaru wants to merge 3 commits intodevelopfrom
anvacaru/telemetry-2
Open

Upstream anonymous telemetry module#4909
anvacaru wants to merge 3 commits intodevelopfrom
anvacaru/telemetry-2

Conversation

@anvacaru
Copy link
Copy Markdown
Contributor

@anvacaru anvacaru commented Apr 9, 2026

Add pyk.telemetry module to centralize anonymous usage tracking. Downstream tools (kontrol, komet, etc.) can import emit_event instead of duplicating this logic in each project.

  • Stores a persistent anonymous user ID in ~/.config/kprofile/config.toml
  • Opt-out via KPROFILE_TELEMETRY_DISABLED=true or consent=false in the config file
  • Consent notice printed once, on first run
  • Callers pass tool-specific metadata (e.g. {'version': '1.2.3'}) via properties
  • Added requests, tomli-w, and types-requests dependencies

@rv-jenkins rv-jenkins changed the base branch from master to develop April 9, 2026 05:43
@anvacaru anvacaru requested a review from tothtamas28 April 9, 2026 09:29
@anvacaru anvacaru marked this pull request as ready for review April 9, 2026 09:29
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.

1 participant