Add usage telemetry for aieval dotnet tool#6773
Merged
shyamnamboodiripad merged 2 commits intodotnet:mainfrom Oct 31, 2025
Merged
Add usage telemetry for aieval dotnet tool#6773shyamnamboodiripad merged 2 commits intodotnet:mainfrom
shyamnamboodiripad merged 2 commits intodotnet:mainfrom
Conversation
peterwald
reviewed
Sep 5, 2025
src/Libraries/Microsoft.Extensions.AI.Evaluation.Console/Commands/ReportCommand.cs
Outdated
Show resolved
Hide resolved
5d2d178 to
d2bb06e
Compare
d2bb06e to
67eaa61
Compare
116b6c2 to
4164ad2
Compare
6eb98e8 to
0c6a834
Compare
513ea38 to
09839c2
Compare
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR adds telemetry collection functionality to the aieval .NET tool to help understand usage patterns and improve the user experience. The telemetry is anonymous and only collected when using the command-line tool, not when using the evaluation libraries in code.
- Adds comprehensive telemetry infrastructure with opt-out capability
- Renames and refactors utilities for better consistency across the codebase
- Includes detailed documentation explaining what data is collected and privacy commitments
Reviewed Changes
Copilot reviewed 40 out of 40 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
src/Libraries/Microsoft.Extensions.AI.Evaluation.Console/Telemetry/TelemetryHelper.cs |
Core telemetry collection class with Application Insights integration |
src/Libraries/Microsoft.Extensions.AI.Evaluation.Console/Telemetry/TelemetryConstants.cs |
Constants and configuration for telemetry collection including opt-out logic |
src/Libraries/Microsoft.Extensions.AI.Evaluation.Console/TELEMETRY.md |
Documentation explaining telemetry collection, privacy, and opt-out procedures |
src/Libraries/Microsoft.Extensions.AI.Evaluation.Console/Program.cs |
Updated main program to initialize telemetry and display first-run messages |
src/Libraries/Microsoft.Extensions.AI.Evaluation.Console/Commands/*.cs |
Updated command classes to integrate telemetry reporting |
src/Libraries/Microsoft.Extensions.AI.Evaluation/Utilities/BuiltInMetricUtilities.cs |
Renamed from BuiltInEvaluatorUtilities and added new metadata constants |
| Various test and project files | Updated references and cleaned up pragma warnings for consistency |
src/Libraries/Microsoft.Extensions.AI.Evaluation.Console/Telemetry/TelemetryConstants.cs
Outdated
Show resolved
Hide resolved
src/Libraries/Microsoft.Extensions.AI.Evaluation.Console/Commands/ReportCommand.cs
Outdated
Show resolved
Hide resolved
c4aef14 to
b3b72a1
Compare
peterwald
approved these changes
Oct 31, 2025
This was referenced Nov 26, 2025
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
See TELEMETRY.md included in this PR for details.
Microsoft Reviewers: Open in CodeFlow