Closed akata72 closed 11 months ago
hi thanks for raising this . what region is your resource group in ?
The RG is in norwayeast (the cluster and azure monitor account as well).
ok thanks. let me look and get back to you here. can you also post the cli version az version
output here , when u get a chance , please ?
Hi - i Just checked, and we have a mapping that we use for naming and that has westeurope. We will update the mappings as part of newly added regions soon. Thanks for reporting this issue.
This issue is stale because it has been open 7 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Hi - we have a fix for this that will rollout in a few weeks. Thanks for reporting this.
I have my Azure Monitor workspace and AKS cluster deployed in norwayeast.
When I run the command to enable monitoring and associate this workspace to the cluster;
az aks update --enable-azure-monitor-metrics -n $clusterName -g $clusterResourceGroupName --azure-monitor-workspace-resource-id $workspaceResourceId
It creates the dataCollectionEndpoint and datacollectionRules with westeurope in the name (but in the right location).![image](https://github.com/Azure/prometheus-collector/assets/16230163/2d96d87b-ff06-4a9b-8d0b-6a3774405da7)
I would expect the location to be retrieved from where the Azure monitor workspace is actually located (like in the bicep templates).