提交 c180bda9 编写于 作者: K kieferrm 提交者: Kai Maetzel

inline values

上级 6100f3ba
...@@ -42,12 +42,28 @@ declare module 'native-keymap' { ...@@ -42,12 +42,28 @@ declare module 'native-keymap' {
export function getKeyMap(): IKeyboardMapping; export function getKeyMap(): IKeyboardMapping;
/* __GDPR__FRAGMENT__
"IKeyboardLayoutInfo" : {
"name" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"id": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"text": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
export interface IWindowsKeyboardLayoutInfo { export interface IWindowsKeyboardLayoutInfo {
name: string; name: string;
id: string; id: string;
text: string; text: string;
} }
/* __GDPR__FRAGMENT__
"IKeyboardLayoutInfo" : {
"model" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"layout": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"variant": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"options": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"rules": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
export interface ILinuxKeyboardLayoutInfo { export interface ILinuxKeyboardLayoutInfo {
model: string; model: string;
layout: string; layout: string;
...@@ -56,6 +72,12 @@ declare module 'native-keymap' { ...@@ -56,6 +72,12 @@ declare module 'native-keymap' {
rules: string; rules: string;
} }
/* __GDPR__FRAGMENT__
"IKeyboardLayoutInfo" : {
"id" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"lang": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
export interface IMacKeyboardLayoutInfo { export interface IMacKeyboardLayoutInfo {
id: string; id: string;
lang: string; lang: string;
......
...@@ -6,6 +6,11 @@ ...@@ -6,6 +6,11 @@
import { ResolvedKeybinding } from 'vs/base/common/keyCodes'; import { ResolvedKeybinding } from 'vs/base/common/keyCodes';
/* __GDPR__FRAGMENT__
"IQuickNavigateConfiguration" : {
"keybindings" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
export interface IQuickNavigateConfiguration { export interface IQuickNavigateConfiguration {
keybindings: ResolvedKeybinding[]; keybindings: ResolvedKeybinding[];
} }
......
...@@ -1004,6 +1004,9 @@ export abstract class CommonCodeEditor extends Disposable implements editorCommo ...@@ -1004,6 +1004,9 @@ export abstract class CommonCodeEditor extends Disposable implements editorCommo
protected abstract _removeDecorationType(key: string): void; protected abstract _removeDecorationType(key: string): void;
protected abstract _resolveDecorationOptions(typeKey: string, writable: boolean): editorCommon.IModelDecorationOptions; protected abstract _resolveDecorationOptions(typeKey: string, writable: boolean): editorCommon.IModelDecorationOptions;
/* __GDPR__FRAGMENT__
"EditorTelemetryData" : {}
*/
public getTelemetryData(): { [key: string]: any; } { public getTelemetryData(): { [key: string]: any; } {
return null; return null;
} }
......
...@@ -70,7 +70,16 @@ export enum QueryType { ...@@ -70,7 +70,16 @@ export enum QueryType {
File = 1, File = 1,
Text = 2 Text = 2
} }
/* __GDPR__FRAGMENT__
"IPatternInfo" : {
"pattern" : { "endPoint": "none", "classification": "CustomerContent", "purpose": "FeatureInsight" },
"isRegExp": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"isWordMatch": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"wordSeparators": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"isMultiline": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"isCaseSensitive": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
export interface IPatternInfo { export interface IPatternInfo {
pattern: string; pattern: string;
isRegExp?: boolean; isRegExp?: boolean;
......
...@@ -8,6 +8,11 @@ import { IConfigurationService } from 'vs/platform/configuration/common/configur ...@@ -8,6 +8,11 @@ import { IConfigurationService } from 'vs/platform/configuration/common/configur
import { IStorageService } from 'vs/platform/storage/common/storage'; import { IStorageService } from 'vs/platform/storage/common/storage';
import { createDecorator } from 'vs/platform/instantiation/common/instantiation'; import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
/* __GDPR__FRAGMENT__
"IExperiments" : {
"deployToAzureQuickLink" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
export interface IExperiments { export interface IExperiments {
ripgrepQuickSearch: boolean; ripgrepQuickSearch: boolean;
} }
......
...@@ -66,6 +66,13 @@ export function anonymize(input: string): string { ...@@ -66,6 +66,13 @@ export function anonymize(input: string): string {
return r; return r;
} }
/* __GDPR__FRAGMENT__
"URIDescriptor" : {
"mimeType" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"ext": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"path": { "endPoint": "none", "classification": "CustomerContent", "purpose": "FeatureInsight" }
}
*/
export interface URIDescriptor { export interface URIDescriptor {
mimeType?: string; mimeType?: string;
ext?: string; ext?: string;
......
...@@ -387,6 +387,21 @@ function loadCommonJSModule<T>(modulePath: string, activationTimesBuilder: Exten ...@@ -387,6 +387,21 @@ function loadCommonJSModule<T>(modulePath: string, activationTimesBuilder: Exten
} }
function getTelemetryActivationEvent(extensionDescription: IExtensionDescription): any { function getTelemetryActivationEvent(extensionDescription: IExtensionDescription): any {
/* __GDPR__FRAGMENT__
"TelemetryActivationEvent" : {
"id": { "endPoint": "none", "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
"name": { "endPoint": "none", "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
"publisherDisplayName": { "endPoint": "none", "classification": "PublicNonPersonalData", "purpose": "FeatureInsight" },
"activationEvents": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"isBuiltin": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"${wildcard}": [
{
"${prefix}": "contribution.",
"${property}": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
]
}
*/
let event = { let event = {
id: extensionDescription.id, id: extensionDescription.id,
name: extensionDescription.name, name: extensionDescription.name,
......
...@@ -555,7 +555,7 @@ export class QuickOpenController extends Component implements IQuickOpenService ...@@ -555,7 +555,7 @@ export class QuickOpenController extends Component implements IQuickOpenService
/* __GDPR__ /* __GDPR__
"quickOpenWidgetShown" : { "quickOpenWidgetShown" : {
"mode" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "mode" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"quickNavigate": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" } "quickNavigate": { "${inline}": [ "${IQuickNavigateConfiguration}" ] }
} }
*/ */
this.telemetryService.publicLog('quickOpenWidgetShown', { mode: handlerDescriptor.getId(), quickNavigate: quickNavigateConfiguration }); this.telemetryService.publicLog('quickOpenWidgetShown', { mode: handlerDescriptor.getId(), quickNavigate: quickNavigateConfiguration });
......
...@@ -74,7 +74,7 @@ export class ResourceEditorInput extends EditorInput { ...@@ -74,7 +74,7 @@ export class ResourceEditorInput extends EditorInput {
/* __GDPR__FRAGMENT__ /* __GDPR__FRAGMENT__
"EditorTelemetryDescriptor" : { "EditorTelemetryDescriptor" : {
"resource": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" } "resource": { "${inline}": [ "${URIDescriptor}" ] }
} }
*/ */
return descriptor; return descriptor;
......
...@@ -256,7 +256,7 @@ export class UntitledEditorInput extends EditorInput implements IEncodingSupport ...@@ -256,7 +256,7 @@ export class UntitledEditorInput extends EditorInput implements IEncodingSupport
/* __GDPR__FRAGMENT__ /* __GDPR__FRAGMENT__
"EditorTelemetryDescriptor" : { "EditorTelemetryDescriptor" : {
"resource": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" } "resource": { "${inline}": [ "${URIDescriptor}" ] }
} }
*/ */
return descriptor; return descriptor;
......
...@@ -202,7 +202,10 @@ export class WorkbenchShell { ...@@ -202,7 +202,10 @@ export class WorkbenchShell {
/* __GDPR__ /* __GDPR__
"workspaceLoad" : { "workspaceLoad" : {
"userAgent" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "userAgent" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"windowSize": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "windowSize.innerHeight": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"windowSize.innerWidth": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"windowSize.outerHeight": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"windowSize.outerWidth": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"emptyWorkbench": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "emptyWorkbench": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"workbench.filesToOpen": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "workbench.filesToOpen": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"workbench.filesToCreate": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "workbench.filesToCreate": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
...@@ -210,7 +213,7 @@ export class WorkbenchShell { ...@@ -210,7 +213,7 @@ export class WorkbenchShell {
"customKeybindingsCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "customKeybindingsCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"theme": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "theme": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"language": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "BusinessInsight" }, "language": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "BusinessInsight" },
"experiments": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "BusinessInsight" }, "experiments": { "${inline}": [ "${IExperiments}" ] },
"pinnedViewlets": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "pinnedViewlets": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"restoredViewlet": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "restoredViewlet": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"restoredEditors": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "restoredEditors": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
......
...@@ -279,7 +279,7 @@ export class FileEditorInput extends EditorInput implements IFileEditorInput { ...@@ -279,7 +279,7 @@ export class FileEditorInput extends EditorInput implements IFileEditorInput {
/* __GDPR__FRAGMENT__ /* __GDPR__FRAGMENT__
"EditorTelemetryDescriptor" : { "EditorTelemetryDescriptor" : {
"resource": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" } "resource": { "${inline}": [ "${URIDescriptor}" ] }
} }
*/ */
return descriptor; return descriptor;
......
...@@ -38,10 +38,44 @@ interface ISearchWithRange { ...@@ -38,10 +38,44 @@ interface ISearchWithRange {
"unsortedResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "unsortedResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"sortedResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "sortedResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"resultCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "resultCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"symbols": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "symbols.fromCache": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" } "files.fromCache": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.unsortedResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.sortedResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.resultCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.traversal": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.errors": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.fileWalkStartDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.fileWalkResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.directoriesWalked": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.filesWalked": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.cmdForkStartTime": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.cmdForkResultTime": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.cmdResultCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.cacheLookupStartDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.cacheFilterStartDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.cacheLookupResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.cacheEntryCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.fromCache": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.unsortedResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.sortedResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.resultCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.traversal": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.errors": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.fileWalkStartDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.fileWalkResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.directoriesWalked": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.filesWalked": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.cmdForkStartTime": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.cmdForkResultTime": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.cmdResultCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.cacheLookupStartDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.cacheFilterStartDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.cacheLookupResultDuration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"files.joined.cacheEntryCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }
} }
*/ */
// GDPR__TODO joined seems to be recursive
interface ITimerEventData { interface ITimerEventData {
searchLength: number; searchLength: number;
unsortedResultDuration: number; unsortedResultDuration: number;
......
...@@ -773,7 +773,7 @@ export class SearchModel extends Disposable { ...@@ -773,7 +773,7 @@ export class SearchModel extends Disposable {
"searchresultsShown" : { "searchresultsShown" : {
"count" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "count" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"fileCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "fileCount": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"options": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "options": { "${inline}": [ "${IPatternInfo}" ] },
"duration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "duration": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"useRipgrep": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" } "useRipgrep": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
} }
......
...@@ -411,7 +411,7 @@ class WelcomePage { ...@@ -411,7 +411,7 @@ class WelcomePage {
/* __GDPR__FRAGMENT__ /* __GDPR__FRAGMENT__
"WelcomePageInstall-1" : { "WelcomePageInstall-1" : {
"from" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "from" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"extensionsId": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" } "extensionId": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
} }
*/ */
this.telemetryService.publicLog(strings.installEvent, { this.telemetryService.publicLog(strings.installEvent, {
......
...@@ -354,6 +354,12 @@ export class WalkThroughPart extends BaseEditor { ...@@ -354,6 +354,12 @@ export class WalkThroughPart extends BaseEditor {
const div = innerContent.querySelector(`#${id.replace(/\./g, '\\.')}`) as HTMLElement; const div = innerContent.querySelector(`#${id.replace(/\./g, '\\.')}`) as HTMLElement;
const options = this.getEditorOptions(snippet.textEditorModel.getModeId()); const options = this.getEditorOptions(snippet.textEditorModel.getModeId());
/* __GDPR__FRAGMENT__
"EditorTelemetryData" : {
"target" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"snippet": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }
}
*/
const telemetryData = { const telemetryData = {
target: this.input instanceof WalkThroughInput ? this.input.getTelemetryFrom() : undefined, target: this.input instanceof WalkThroughInput ? this.input.getTelemetryFrom() : undefined,
snippet: i snippet: i
......
...@@ -96,7 +96,7 @@ export class WalkThroughInput extends EditorInput { ...@@ -96,7 +96,7 @@ export class WalkThroughInput extends EditorInput {
/* __GDPR__FRAGMENT__ /* __GDPR__FRAGMENT__
"EditorTelemetryDescriptor" : { "EditorTelemetryDescriptor" : {
"target" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" }, "target" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" },
"resource": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" } "resource": { "${inline}": [ "${URIDescriptor}" ] }
} }
*/ */
return descriptor; return descriptor;
......
...@@ -320,7 +320,7 @@ export class WorkbenchKeybindingService extends AbstractKeybindingService { ...@@ -320,7 +320,7 @@ export class WorkbenchKeybindingService extends AbstractKeybindingService {
let data = KeyboardMapperFactory.INSTANCE.getCurrentKeyboardLayout(); let data = KeyboardMapperFactory.INSTANCE.getCurrentKeyboardLayout();
/* __GDPR__ /* __GDPR__
"keyboardLayout" : { "keyboardLayout" : {
"currentKeyboardLayout" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "FeatureInsight" } "currentKeyboardLayout": { "${inline}": [ "${IKeyboardLayoutInfo}" ] }
} }
*/ */
telemetryService.publicLog('keyboardLayout', { telemetryService.publicLog('keyboardLayout', {
......
...@@ -8,6 +8,14 @@ import { createDecorator } from 'vs/platform/instantiation/common/instantiation' ...@@ -8,6 +8,14 @@ import { createDecorator } from 'vs/platform/instantiation/common/instantiation'
export const ITimerService = createDecorator<ITimerService>('timerService'); export const ITimerService = createDecorator<ITimerService>('timerService');
/* __GDPR__FRAGMENT__
"IMemoryInfo" : {
"workingSetSize" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"peakWorkingSetSize": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"privateBytes": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"sharedBytes": { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }
}
*/
export interface IMemoryInfo { export interface IMemoryInfo {
workingSetSize: number; workingSetSize: number;
peakWorkingSetSize: number; peakWorkingSetSize: number;
...@@ -19,14 +27,25 @@ export interface IMemoryInfo { ...@@ -19,14 +27,25 @@ export interface IMemoryInfo {
"IStartupMetrics" : { "IStartupMetrics" : {
"version" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "version" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"ellapsed" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "ellapsed" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "timers.ellapsedAppReady" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedWindowLoad" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedWindowLoadToRequire" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedExtensions" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedExtensionsReady" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedRequire" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedViewletRestore" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedEditorRestore" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedWorkbench" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers.ellapsedTimersToTimersComputed" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"timers2" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "timers2" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"platform" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "platform" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"release" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "release" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"arch" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "arch" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"totalmem" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "totalmem" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"meminfo" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "meminfo" : { "${inline}": [ "${IMemoryInfo}" ] },
"cpus" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "cpus.count" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"cpus.speed" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"cpus.model" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"initialStartup" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "initialStartup" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"hasAccessibilitySupport" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "hasAccessibilitySupport" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
"isVMLikelyhood" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" }, "isVMLikelyhood" : { "endPoint": "none", "classification": "SystemMetaData", "purpose": "PerformanceAndHealth" },
...@@ -49,6 +68,7 @@ export interface IStartupMetrics { ...@@ -49,6 +68,7 @@ export interface IStartupMetrics {
ellapsedWorkbench: number; ellapsedWorkbench: number;
ellapsedTimersToTimersComputed: number; ellapsedTimersToTimersComputed: number;
}; };
// GDPR__TODO: Dynamic property set with timer2, cannot be declared in the registry
timers2: { [name: string]: number }; timers2: { [name: string]: number };
platform: string; platform: string;
release: string; release: string;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册