mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
remote: fix wrong event name used for latency (#149973)
This commit is contained in:
parent
92b6c1be54
commit
3b3a3e3e36
|
@ -243,20 +243,20 @@ class InitialRemoteConnectionHealthContribution implements IWorkbenchContributio
|
|||
await timeout(EXT_HOST_LATENCY_DELAY);
|
||||
}
|
||||
|
||||
type RemoteConnectionFailureClassification = {
|
||||
type RemoteConnectionLatencyClassification = {
|
||||
owner: 'connor4312';
|
||||
comment: 'The latency to the remote extension host';
|
||||
web: { classification: 'SystemMetaData'; purpose: 'PerformanceAndHealth'; comment: 'Whether this is running on web' };
|
||||
remoteName: { classification: 'SystemMetaData'; purpose: 'PerformanceAndHealth'; comment: 'Anonymized remote name' };
|
||||
latencyMs: { classification: 'SystemMetaData'; purpose: 'PerformanceAndHealth'; comment: 'Latency to the remote, in milliseconds'; isMeasurement: true };
|
||||
};
|
||||
type RemoteConnectionFailureEvent = {
|
||||
type RemoteConnectionLatencyEvent = {
|
||||
web: boolean;
|
||||
remoteName: string | undefined;
|
||||
latencyMs: number;
|
||||
};
|
||||
|
||||
this._telemetryService.publicLog2<RemoteConnectionFailureEvent, RemoteConnectionFailureClassification>('remoteConnectionFailure', {
|
||||
this._telemetryService.publicLog2<RemoteConnectionLatencyEvent, RemoteConnectionLatencyClassification>('remoteConnectionLatency', {
|
||||
web: isWeb,
|
||||
remoteName: getRemoteName(this._environmentService.remoteAuthority),
|
||||
latencyMs: bestLatency
|
||||
|
|
Loading…
Reference in a new issue