src/vs/workbench/api/common/extHostTelemetry.ts/ExtHostTelemetryLogger/mixInCommonPropsAndCleanData
class ExtHostTelemetryLogger:	mixInCommonPropsAndCleanData(data: Record<string, any>): Record<string, any> {
		// Some telemetry modules prefer to break properties and measurmements up
		// We mix common properties into the properties tab.
		// TODO @lramos15 should this be up to the implementer and not done here?
		let updatedData = data.properties ?? data;

		// We don't clean measurements since they are just numbers
		updatedData = cleanData(updatedData, []);

		if (this._appender.additionalCommonProperties) {
			updatedData = mixin(updatedData, this._appender.additionalCommonProperties);
		}

		if (!this._appender.ignoreBuiltInCommonProperties) {
			updatedData = mixin(updatedData, this._commonProperties);
		}

		if (data.properties) {
			data.properties = updatedData;
		} else {
			data = updatedData;
		}

		return data;
	}