MCPcopy Index your code
hub / github.com/microsoft/vscode-cpptools / sendTelemetry

Function sendTelemetry

Extension/src/telemetry.ts:101–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99
100export function logDebuggerEvent(eventName: string, properties?: Record<string, string>, metrics?: Record<string, number>): void {
101 const sendTelemetry = () => {
102 if (experimentationTelemetry) {
103 const eventNamePrefix: string = "cppdbg/VS/Diagnostics/Debugger/";
104 experimentationTelemetry.sendTelemetryEvent(eventNamePrefix + eventName, properties, metrics);
105 }
106 };
107
108 // simpler expression of the original:
109 // Uses 'then' instead of 'await' because telemetry should be "fire and forget".

Callers 3

logDebuggerEventFunction · 0.70
logLanguageServerEventFunction · 0.70
logCopilotEventFunction · 0.70

Calls 1

sendTelemetryEventMethod · 0.80

Tested by

no test coverage detected