Skip to content

Commit 591e969

Browse files
committed
Remuve measurability for non-time props
1 parent f5e3b49 commit 591e969

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Cli/dotnet/commands/dotnet-msbuild/MSBuildLogger.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ internal static void FormatAndSend(ITelemetry telemetry, TelemetryEventArgs args
149149
case BuildcheckRunEventName:
150150
TrackEvent(telemetry, $"msbuild/{BuildcheckRunEventName}", args.Properties,
151151
toBeHashed: Array.Empty<string>(),
152-
toBeMeasured: new[] { "RulesCount", "CustomRulesCount", "ViolationsCount", "TotalRuntimeInMilliseconds" });
152+
toBeMeasured: new[] { "TotalRuntimeInMilliseconds" });
153153
break;
154154
case BuildcheckRuleStatsEventName:
155155
TrackEvent(telemetry, $"msbuild/{BuildcheckRuleStatsEventName}", args.Properties,
156156
toBeHashed: new[] { "RuleId", "CheckFriendlyName" },
157-
toBeMeasured: new[] { "DefaultSeverityId", "ViolationMessagesCount", "ViolationWarningsCount", "ViolationErrorsCount", "TotalRuntimeInMilliseconds" });
157+
toBeMeasured: new[] { "TotalRuntimeInMilliseconds" });
158158
break;
159159
// Pass through events that don't need special handling
160160
case SdkTaskBaseCatchExceptionTelemetryEventName:

0 commit comments

Comments
 (0)