Skip to content

Add telemetry to track usage and errors#2319

Open
bmehta001 wants to merge 44 commits intomicrosoft:mainfrom
bmehta001:bhamehta/track-actions
Open

Add telemetry to track usage and errors#2319
bmehta001 wants to merge 44 commits intomicrosoft:mainfrom
bmehta001:bhamehta/track-actions

Conversation

@bmehta001
Copy link

@bmehta001 bmehta001 commented Feb 2, 2026

Add telemetry library and Olive-specific functionality

  • Convert .NET OneCollector library to Python and add to telemetry/library
  • Track actions/errors with telemetry decorator
  • Use heartbeat event to track general usage
  • Add flag to disable telemetry, if desired (--disable-telemetry)
  • Create telemetry cache so events can be sent when network connectivity is convenient
    Nits:
  • Break out version into separate file
  • Remove Python 3.9 from classifiers, since library only supports 3.10+
  • Update minimum onnxscript version needed, since FOLDED_FROM_KEY requires 0.5.3

Description of change for release notes:

Add telemetry to help improve our products and services

Checklist before requesting a review

  • Add unit tests for this change.
  • Make sure all tests can pass.
  • Update documents if necessary.
  • Lint and apply fixes to your code by running lintrunner -a
  • Is this a user-facing change? If yes, give a description of this change to be included in the release notes.

@bmehta001 bmehta001 requested a review from shaahji February 25, 2026 18:13
@bmehta001 bmehta001 changed the title Track usage, errors, and create disable_telemetry flag Add telemetry to track usage and errors Feb 25, 2026
@shaahji
Copy link
Collaborator

shaahji commented Mar 5, 2026

/az run

@shaahji shaahji enabled auto-merge (squash) March 5, 2026 22:04
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