-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Telemetry improvements for tracking experimental feature optout #18762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Telemetry improvements for tracking experimental feature optout #18762
Conversation
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
7d6d178 to
4e9d6eb
Compare
c228739 to
85e0c62
Compare
b604093 to
ff61724
Compare
src/System.Management.Automation/engine/NativeCommandProcessor.cs
Outdated
Show resolved
Hide resolved
src/System.Management.Automation/engine/ExperimentalFeature/ExperimentalFeature.cs
Outdated
Show resolved
Hide resolved
src/System.Management.Automation/engine/ExperimentalFeature/ExperimentalFeature.cs
Outdated
Show resolved
Hide resolved
src/System.Management.Automation/engine/ExperimentalFeature/ExperimentalFeature.cs
Outdated
Show resolved
Hide resolved
Add a GetExperimentalFeatureUseData to provide a consistent way to track feature and details. Add telemetry to PSNativeCommandUseErrorActionPreference so we can track the actual values in use.
We will now report on ExperimentalFeature enabling _and_ disabling. Add usage data for experimental feature PSNativeCommandUseErrorActionPreference. Report the number of invalid experimental features were requested to be enabled.
…perimentalFeature.cs Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
Improve logic in collecting disabled features.
6a830d9 to
7290f83
Compare
|
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
1 similar comment
|
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
SteveL-MSFT
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
🎉 Handy links: |
PR Summary
Add new telemetry types to track experimental feature optout better.
Add a GetExperimentalFeatureUseData to provide a consistent way to track feature and details. Add telemetry to PSNativeCommandUseErrorActionPreference so we can track the actual values in use.
This also provides better tracking for experimental features and now tracks 2 states:
Also, we will now collect
RuntimeInformation.RuntimeIdentifierwhich allows better clarity on our Docker use since OSDescription is information about the Host OS rather than the guest.PR Context
We don't currently have an easy way of determining which experimental features are not enabled.
We also don't have any way of determining whether a feature is actually being used. This PR
provides actual setting of PSNativeCommandUseErrorActionPreference (true/false/unset) to help us determine how much this feature is being used.
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.(which runs in a different PS Host).