mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-17 15:24:40 +01:00
Merge pull request #305156 from microsoft/isidorn/private-pig
feat(telemetry): log terminal sandbox setting changes
This commit is contained in:
@@ -444,6 +444,14 @@ class ConfigurationTelemetryContribution extends Disposable implements IWorkbenc
|
||||
source: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'source of the setting' };
|
||||
}>('terminal.integrated.suggest.enabled', { settingValue: this.getValueToReport(key, target), source });
|
||||
return;
|
||||
case TerminalContribSettingId.TerminalSandboxEnabled:
|
||||
this.telemetryService.publicLog2<UpdatedSettingEvent, {
|
||||
owner: 'isidorn';
|
||||
comment: 'This is used to know if terminal sandbox is enabled or not';
|
||||
settingValue: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'value of the setting' };
|
||||
source: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; comment: 'source of the setting' };
|
||||
}>('chat.tools.terminal.sandbox.enabled', { settingValue: this.getValueToReport(key, target), source });
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -46,6 +46,7 @@ export const enum TerminalContribSettingId {
|
||||
EnableAutoApprove = TerminalChatAgentToolsSettingId.EnableAutoApprove,
|
||||
ShellIntegrationTimeout = TerminalChatAgentToolsSettingId.ShellIntegrationTimeout,
|
||||
OutputLocation = TerminalChatAgentToolsSettingId.OutputLocation,
|
||||
TerminalSandboxEnabled = TerminalChatAgentToolsSettingId.TerminalSandboxEnabled,
|
||||
DeprecatedTerminalSandboxNetwork = TerminalChatAgentToolsSettingId.DeprecatedTerminalSandboxNetwork,
|
||||
TerminalSandboxNetworkAllowedDomains = TerminalChatAgentToolsSettingId.TerminalSandboxNetworkAllowedDomains,
|
||||
TerminalSandboxNetworkDeniedDomains = TerminalChatAgentToolsSettingId.TerminalSandboxNetworkDeniedDomains,
|
||||
|
||||
Reference in New Issue
Block a user