You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add opt-in anonymous command counters to the CLI #733
There is no KPI on which Nexy commands developers actually use, so it is hard to decide what to
improve. Public download figures from #732 cannot say how often nx dev, nx build, nx add or any
other command runs. The developer wants counts only, no sensitive data: country plus invocation count
for every command, and count only for nx start.
Change to make
Add anonymous command counters, off by default and opt-in:
opt in with useTelemetry = True in nexyconfig.py or NEXY_TELEMETRY=1; add nx telemetry on, nx telemetry off and nx telemetry status, the last one printing the exact payload sent
every CLI command records one anonymous invocation of that command. Counters are aggregated
locally and sent once per day with the command name and its count. The country is added by the
ingestion endpoint, never by the CLI
nx start sends its count without a country. No country, no traffic data and no request data
from anything served in production
no file paths, no command arguments, no source text, no environment values and no machine
identifier in any payload
fire and forget with a 500 ms timeout, silent when offline, skipped in CI, never blocking startup
The ingestion endpoint (#734), public figures (#732), production traffic analytics and identifying
users.
Checks
Tests stub the transport and assert no call when the option is off, that every command produces a
counter with its own name, that the nx start payload has no country field, that CI is skipped and
that no path or source text is sent. nx telemetry status has a CLI test. docs/reference/cli.md
and a privacy page list every field and the opt-in, with translations regenerated.
changed the title [-]Add opt-in anonymous usage counters in nx dev and nx start[/-][+]Add opt-in anonymous command counters to the CLI[/+]on Nov 29, 2026
Activity
[-]Add opt-in anonymous usage counters in nx dev and nx start[/-][+]Add opt-in anonymous command counters to the CLI[/+]