Hi,
When switch to Prometheus in Azure you basically switch the sending of AKS metrics from Log Analytics workspace to Azure Monitor workspace. The latter is a new resource that is able to handle metrics data more efficient in terms of performance and cost. However the Azure Monitor workspace as separate resource also uses different query language called PromQL. This is different language from the Azure Log Analytics workspace which is KQL. The existing data will still be present and deleted according to the retention settings of your Azure Log Analytics workspace. New data will be send to the Azure Monitor workspace. You will not be able to query Azure Log Analytics workspace and Azure Monitor workspace at the same time except if you make some Azure Monitor workbook that displays data from the two resources. In portal for the AKS resource you have the option to show data from Azure Monitor workspace or from Azure Log Analytics workspace.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.