Skip to content

Commit 86e93ca

Browse files
authored
Merge pull request #118578 from frozenprocess/patch-1
Update azure metrics command
2 parents f6918c9 + fd767f1 commit 86e93ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-monitor/essentials/azure-monitor-workspace-manage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ Create a link between the Azure Monitor workspace and the Grafana workspace by u
133133
If your cluster is already configured to send data to an Azure Monitor managed service for Prometheus, you must disable it first using the following command:
134134

135135
```azurecli
136-
az aks update --disable-azuremonitormetrics -g <cluster-resource-group> -n <cluster-name>
136+
az aks update --disable-azure-monitor-metrics -g <cluster-resource-group> -n <cluster-name>
137137
```
138138

139139
Then, either enable or re-enable using the following command:
140140
```azurecli
141-
az aks update --enable-azuremonitormetrics -n <cluster-name> -g <cluster-resource-group> --azure-monitor-workspace-resource-id
141+
az aks update --enable-azure-monitor-metrics -n <cluster-name> -g <cluster-resource-group> --azure-monitor-workspace-resource-id
142142
<azure-monitor-workspace-name-resource-id> --grafana-resource-id <grafana-workspace-name-resource-id>
143143
```
144144

0 commit comments

Comments
 (0)