Skip to content
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

Bring VS Code telemetry reporting in DevKit to match log level requirements of VS #69444

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

ryzngard
Copy link
Contributor

@ryzngard ryzngard commented Aug 9, 2023

The volume of telemetry for DevKit is orders of magnitude higher per machine than VS because we weren't filtering on LogLevel in the same way. This brings the behavior to be the same.

@ryzngard ryzngard requested a review from a team as a code owner August 9, 2023 18:47
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Aug 9, 2023
[MemberNotNullWhen(false, nameof(_telemetryReporter))]
private static bool IgnoreReporting(LogMessage logMessage)
=> _telemetryReporter is null ||
logMessage.LogLevel < LogLevel.Information;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Matches

private static bool IgnoreMessage(LogMessage logMessage)

@ryzngard ryzngard merged commit 350abc7 into dotnet:main Aug 9, 2023
@ryzngard ryzngard deleted the telemetry/reduce_vscode branch August 9, 2023 22:53
@ghost ghost added this to the Next milestone Aug 9, 2023
@dibarbet dibarbet modified the milestones: Next, 17.8 P2 Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants