Reducing Telemetry performance delay
Added telemetry timeout Added SHA256 hashed arguments Added Continous Integration flag Added variable rate sampling Removed ExitCode from telemetry
This commit is contained in:
parent
4f1dbeba0e
commit
4b905ae2bd
2 changed files with 95 additions and 37 deletions
|
@ -132,6 +132,8 @@ namespace Microsoft.DotNet.Cli
|
|||
command = "help";
|
||||
}
|
||||
|
||||
telemetryClient.TrackEvent(command, null, null);
|
||||
|
||||
int exitCode;
|
||||
Func<string[], int> builtIn;
|
||||
if (s_builtIns.TryGetValue(command, out builtIn))
|
||||
|
@ -147,13 +149,6 @@ namespace Microsoft.DotNet.Cli
|
|||
exitCode = result.ExitCode;
|
||||
}
|
||||
|
||||
telemetryClient.TrackEvent(
|
||||
command,
|
||||
null,
|
||||
new Dictionary<string, double>
|
||||
{
|
||||
["ExitCode"] = exitCode
|
||||
});
|
||||
|
||||
return exitCode;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue