Repository navigation
feat: report CLI usage analytics to Argvio instead of OpenTelemetry - #28
Open
emmanuelgautier wants to merge 1 commit into
Open
emmanuelgautier wants to merge 1 commit into
emmanuelgautier wants to merge 1 commit into
Conversation
emmanuelgautier
force-pushed
the
feat/argvio
branch
from
October 18, 2026 23:02
8336848 to
00dcf87
Compare
emmanuelgautier
force-pushed
the
feat/argvio
branch
from
October 19, 2026 22:44
00dcf87 to
08ce772
Compare
emmanuelgautier
force-pushed
the
feat/argvio
branch
3 times, most recently
from
November 1, 2026 10:14
d8b092e to
1b16b62
Compare
emmanuelgautier
force-pushed
the
feat/argvio
branch
from
November 1, 2026 10:32
1b16b62 to
4de64eb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
telemetryx.Instrument, and embeds itspublic_ingestingest key. It only allows sending usage data, so it is safe to ship in the binary.telemetryx.Newand the root command hooks). Argvio's command invocations and exit codes replace the per-command success and error counts.x's default classifier. There were no OTel counters to carry over.telemetryx.Execute. Shell, terminal and runtime on session start are sent by argvio itself at the Basic tier.hash.run). No other signal carries the algorithm, since flag values aren't recorded; the label comes from the fixed list of algorithm IDs.telemetryx.Exit/telemetryx.Fatalinstead ofos.Exit/log.Fatalinside commands, so failed runs are recorded and flushed.--sqa-opt-out,DO_NOT_TRACKorARGVIO_DISABLED. Interactive runs report at the Basic tier, CI runs at Anonymous. Counters are accepted at the anonymous tier, so they are also sent from CI; they only ever carry fixed identifiers written in code.Dependency
Uses
github.com/cerberauth/xatfc43052onmain(it includes #61 and #66, both merged) andargvio-gov0.4.0, both released. Nothing else needs to merge first.Test plan
go build ./...,go vet ./...,go test ./...,golangci-lint run --new-from-rev=origin/main(0 issues)🤖 Generated with Claude Code