Right now extensions use the configuration to determine if they should send telemetry; however, the cli flag is not passed to the extension host.
export namespace env {
export const enableTelemetry: boolean;
export const onDidChangeEnableTelemetry: Event<boolean>;
}
Right now extensions use the configuration to determine if they should send telemetry; however, the cli flag is not passed to the extension host.