Skip to content

Comments

Track usage, errors, and create disable_telemetry flag#2319

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

Track usage, errors, and create disable_telemetry flag#2319
bmehta001 wants to merge 40 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.

@@ -0,0 +1,720 @@
# -------------------------------------------------------------------------

Check warning

Code scanning / lintrunner

RUFF-FORMAT/format Warning

Run lintrunner -a to apply this patch.
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