mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-14 07:12:00 +01:00
Support proxies in the telemetry service (#187952)
This commit is contained in:
@@ -192,7 +192,8 @@ class CliMain extends Disposable {
|
||||
services.set(IUriIdentityService, new UriIdentityService(fileService));
|
||||
|
||||
// Request
|
||||
services.set(IRequestService, new SyncDescriptor(RequestService, undefined, true));
|
||||
const requestService = new RequestService(configurationService, environmentService, logService, loggerService);
|
||||
services.set(IRequestService, requestService);
|
||||
|
||||
// Download Service
|
||||
services.set(IDownloadService, new SyncDescriptor(DownloadService, undefined, true));
|
||||
@@ -212,7 +213,7 @@ class CliMain extends Disposable {
|
||||
const isInternal = isInternalTelemetry(productService, configurationService);
|
||||
if (supportsTelemetry(productService, environmentService)) {
|
||||
if (productService.aiConfig && productService.aiConfig.ariaKey) {
|
||||
appenders.push(new OneDataSystemAppender(isInternal, 'monacoworkbench', null, productService.aiConfig.ariaKey));
|
||||
appenders.push(new OneDataSystemAppender(requestService, isInternal, 'monacoworkbench', null, productService.aiConfig.ariaKey));
|
||||
}
|
||||
|
||||
const config: ITelemetryServiceConfig = {
|
||||
|
||||
Reference in New Issue
Block a user