Skip to content

Commit 4fb0b4e

Browse files
committed
A FEW FIXES
1 parent 8034595 commit 4fb0b4e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

AKS-Arc/control-plane-metrics.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Azure Monitor collects and aggregates important metrics from your AKS Arc runnin
3737

3838
### Step 1: Install the managed Prometheus extension
3939

40-
You can either install the extension from the Azure portal or using CLI.
40+
You can install the extension either from the Azure portal, or using CLI.
4141

4242
# [Azure portal](#tab/azureportal)
4343

@@ -50,7 +50,7 @@ Go to your Kubernetes instance, then select **Monitoring > Insights > Monitor Se
5050
The following command installs the managed Prometheus extension with a default Azure Monitor workspace:
5151

5252
```azurecli
53-
az k8s-extension create --name azuremonitor-metrics --cluster-name <cluster-name> --resource-group <resource-group> --cluster-type connectedClusters --extension-type Microsoft.AzureMonitor.Containers.Metrics
53+
az k8s-extension create --name azuremonitor-metrics --cluster-name <cluster-name> --resource-group <resource-group> --cluster-type connectedClusters --extension-type Microsoft.AzureMonitor.Containers.Metrics
5454
```
5555

5656
---
@@ -80,7 +80,7 @@ ama-logs-rs-86bc9dd898-4p7pv 2/2 Running 0 5h29m
8080
….
8181
```
8282

83-
## Enable control plane metrics with custom configurations
83+
## Enable control plane metrics with custom configuration
8484

8585
After you enable the extension, you can view Prometheus Metrics from [targets scraped by default](/azure/azure-monitor/containers/prometheus-metrics-scrape-default#targets-scraped-by-default) in the Azure Monitor workspace. The [default ON targets](/azure/azure-monitor/containers/prometheus-metrics-scrape-configuration-minimal#minimal-ingestion-for-default-on-targets) include kubelet, kube-state-metrics, node-exporter, etc. To get started with kubelet metrics, use the PromQL below:
8686

@@ -90,7 +90,7 @@ kubelet_running_pods{cluster="<cluster_name>", instance="<instance_name>", job="
9090

9191
:::image type="content" source="media/control-plane-metrics/metrics.png" alt-text="Screenshot showing metrics query." lightbox="media/control-plane-metrics/metrics.png":::
9292

93-
To view control plane metrics such as APIServer, ETCD, you need to customize the scraping of Prometheus metrics by applying the config maps to your cluster. The metrics pods pick up the config maps and pods restart in 2-3 minutes. Follow these steps to enable.
93+
To view control plane metrics such as APIServer and ETCD, you can customize the scraping of Prometheus metrics by applying the config maps to your cluster. The metrics pods pick up the config maps and pods restart in 2-3 minutes. Follow these steps to enable.
9494

9595
### Step 1: connect to Kubernetes
9696

@@ -107,7 +107,7 @@ Managed Prometheus uses an [agent-based solution](https://github.com/Azure/prome
107107

108108
### Step 3: apply custom configuration files
109109

110-
Run the following commands to apply the changes, then wait for several minutes for the metrics pods to restart.
110+
Run the following commands to apply the changes, then wait several minutes for the metrics pods to restart.
111111

112112
```bash
113113
kubectl apply -f ama-metrics-settings-configmap.yaml
@@ -134,13 +134,13 @@ Metrics Explorer is convenient for metrics validation. To operationalize Kuberne
134134

135135
:::image type="content" source="media/control-plane-metrics/dashboards.png" alt-text="Screenshot showing metrics dashboard." lightbox="media/control-plane-metrics/dashboards.png":::
136136

137-
### Step 3: View metrics in the dashboard
137+
### Step 3: view metrics in the dashboard
138138

139139
Ensure that the data source and cluster names are correct. You can view the metrics in Grafana and customize them as needed.
140140

141141
:::image type="content" source="media/control-plane-metrics/metrics-status.png" alt-text="Screenshot showing control plance metrics status." lightbox="media/control-plane-metrics/metrics-status.png":::
142142

143-
## Next Steps
143+
## Next steps
144144

145145
- [AKS Arc monitoring data reference](kubernetes-monitor-metrics.md)
146146
- [Prometheus scrape configuration](/azure/azure-monitor/containers/prometheus-metrics-scrape-configuration)

0 commit comments

Comments
 (0)