Skip to content

Commit 7e639e1

Browse files
authored
Update container-insights-prometheus-metrics-addon.md
1 parent e2b34fd commit 7e639e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/azure-monitor/containers/container-insights-prometheus-metrics-addon.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,9 @@ ama-metrics-ksm-5fcf8dffcd 1 1 1 11h
268268

269269

270270
## Uninstall metrics addon
271-
Currently, Azure CLI is the only option to remove the metrics addon and stop sending Prometheus metrics to Azure Monitor managed service for Prometheus. The following command removes the agent from the cluster nodes and deletes the recording rules created for the data being collected from the cluster, it doesn't remove the DCE, DCR, or the data already collected and stored in your Azure Monitor workspace.
271+
272+
Currently, Azure CLI is the only option to remove the metrics addon and stop sending Prometheus metrics to Azure Monitor managed service for Prometheus.
273+
The aks-preview extension needs to be installed using the command `az extension add --name aks-preview`. For more information on how to install a CLI extension, see [Use and manage extensions with the Azure CLI](/azure/azure-cli-extensions-overview). The following command removes the agent from the cluster nodes and deletes the recording rules created for the data being collected from the cluster, it doesn't remove the DCE, DCR, or the data already collected and stored in your Azure Monitor workspace.
272274

273275
```azurecli
274276
az aks update --disable-azuremonitormetrics -n <cluster-name> -g <cluster-resource-group>

0 commit comments

Comments
 (0)